User Tools

Site Tools


mysql_copy_between_servers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
mysql_copy_between_servers [2009/04/24 22:39]
k2patel
mysql_copy_between_servers [2009/04/24 22:40]
k2patel
Line 20: Line 20:
 else else
 echo "​syncing database $db" echo "​syncing database $db"
-mysqldump ​ -h Src_host --user=$User_nm --password=$Passwo $db | mysql -h Dst_host -u root -pk83apuDrug -D $db+mysqldump ​ -h $Src_host --user=$User_nm --password=$Passwo $db | mysql -h $Dst_host -u root -pk83apuDrug -D $db
 fi fi
 done done
 </​code>​ </​code>​
mysql_copy_between_servers.txt ยท Last modified: 2009/04/24 22:43 by k2patel