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
Post a Comment