The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Perl Script to Dump MySQL Database
i'm moving my board to a new server. I need to take a dump of the database and give it to my host for them to populate my new database for me..
they suggested using a perl script to take the dump into the file.. could some please suggest an appropriate perl script to do the job.. Thank you Rob Flack |
#2
|
|||
|
|||
Quote:
I have a .my.cnf file set up with the needed info such as password and username. All that's needed is to run the following at the command prompt. mysqldump --opt your.db.name.here > dumpfile.sqlThen, transfer the generated file to the new host and run this command (assumes that the .my.cnf file has been set up) mysql your.new.db.name.here < dumpfile.sqlWhen finished you will have an exact copy of your original db. The only caveat is that your host may have a restriction on how long the command can run. If you have a fair sized db it may exceed the time limit. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|