Page 1 of 1

mySQL Database Creation on Some Remote Server

Posted: Tue Jul 30, 2002 2:23 am
by saadatshah
hi all,
i ve come up with a little problem....i m developing a web site on my server...in PHP/MYSQL....now tell me how can i create the same Database on the remote server...where i ve 2 deploy the website......i ve created a Database Script....now how can i run my script 2 create DataBase on the Remote Server....

need an urgent help.......

thx

Posted: Tue Jul 30, 2002 3:11 am
by haagen
When you have moved the script to the remote server. Then you pipe the script to mysql. Like:

Code: Select all

# cat scriptfile.sql | mysql database