Home  >  Article  >  Backend Development  >  php数据库备份解决思路

php数据库备份解决思路

WBOY
WBOYOriginal
2016-06-13 10:19:15815browse

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



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

Statement:
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