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

iphone - Using nested NSDictionary with Picker -

javascript - Iterate over array and calculate average values of array-parts -

php - accessing mysql using different server to which db connection data is located -