php数据库备份解决思路

WBOY
Release: 2016-06-13 13:34:18
Original
880 people have browsed it

php数据库备份
用mysqldump工具这个mysqldump又是什么东西
mysqldump -local -root -mima -datebasename >*.sql
那这句语句又要写在哪里?



------解决方案--------------------
system("mysqldump -localhost -root -123456 bishe > F:/upload/backup.sql");
导出来的sql文件大小0KB?
那就是没导出成功?为什么?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!