vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Sun, 27 Apr 2008 14:29:41 -0700 (PDT), weer1@gmx.net wrote: > Hi, > > Does anybody know how to copy records from one mysql-database to > another on another server? > I use PHP and mySQL. Very easy then. Open two database connections, select a set of data from one, and while you loop through the rows of results, generate inserts over the other connection. -- The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -Justice Louis D. Brandeis |
| |||
| weer1@gmx.net wrote: > Hi, > > Does anybody know how to copy records from one mysql-database to > another on another server? > I use PHP and mySQL. > > Regards. > MD > I wouldn't even bother with PHP. Just dump the table(s) on the first server with mysqldump, upload the file to the new server and use the mysql command line utility ("source" command) to add the data to the new database. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |