Hi all
Is there a way to link 2 mysql servers (5.0 and 4.xx) like you can do with sql server? One of the mysql server is "inside" the fire wall and the other is "outside" of the fire wall.
Do you mean you want both servers to host the same data? MySQL uses "replication" or "clustering" to achieve that. Both techniques are explained in the manual.
what i want to do is copy data from the server outside the firewall to the server behind the firewall then delete the data on the server outside the firewall. i was hoping to write a proc to do this.. or use some other tools. i just haven't found a way to do this like i can with sql server.
thanks
Well, you can use "mysqldump" on one server, piping the output to "mysql" on the other server, which should do what you want. Example:
[tt]
c:\mysql\bin\mysqldump -h firstserver -u root -prootpwd dbname | c:\mysql\bin\mysql -h secondserver -u root -prootpwd dbname
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.