gforcehrm111.sql\";" />
开发者

mysqldum of database in remote server from localhost

$command = "ssh dev@192.168.1.1 ls cd public_html/gforce/hrm mysqldump -uroot -pyipl123 gforce>gforcehrm111.sql"; system($command); but this code is not working. H开发者_开发技巧ow to take a database dump of remote server from localhost. Thanks in advance.


let's try the command :

mysqldump -h your server ip -P mysql server port -u user_name -p password db name >path of your local system where you want to save the dump file

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜