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

mysqldum of database in remote server from localhost

开发者 https://www.devze.com 2023-03-22 10:59 出处:网络
$command = \"ssh dev@192.168.1.1 ls cd public_html/gforce/hrm mysqldump -uroot -pyipl123 gforce>gforcehrm111.sql\";

$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

精彩评论

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