duanfeigui6655
2014-12-23 08:33
浏览 38
已采纳

我如何在lighttpd中执行mysqldump? 用php

I'm trying to export and import database in lighttpd using php. Mysqldump does not work as is:

$command= 'mysqldump -h localhost -u root -pXXXX db_name > backup.sql';
exec($command);

2条回答 默认 最新

相关推荐 更多相似问题