View Single Post
Old 08-02-2001, 07:14 PM  
enoj
Confirmed User
 
Join Date: Jul 2001
Location: Norway
Posts: 155
I haven't used the script, but if it's a database script, then just dump the database into a file.. with mysql, you do it this way : mysql -h host -u username -ppassword databasename > dump.sql

then to put it in the other db, do mysql -h host -u username -ppassword databasename < dump.sql .. Remember to create the database before you dump the file.. dump it by :

($ = telnet/ssh shell)
$mysql -h host -u username -ppassword
$CREATE DATABASE databasename
$exit

and there you go :-)

Good luck.
enoj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote