开发者

php code to mysql database export [duplicate]

This question already has answers here: Closed 10 years ago.

Possible Duplicate:

Best practice: Import mySQL file in PHP; split queries

How to import import *.sql file into dat开发者_如何学Goabase and export db to *.sql file in php coding?


exec("mysqldump database -u username -p password  > output.sql");

http://ca3.php.net/manual/en/function.exec.php

http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜