mysqldump - 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); code not working. how take database dump of remote server localhost. in advance.

let's try command :

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


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -