mySQL Database Creation on Some Remote Server

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
saadatshah
Forum Newbie
Posts: 23
Joined: Fri Jul 05, 2002 5:50 am
Location: Lahore

mySQL Database Creation on Some Remote Server

Post 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
User avatar
haagen
Forum Commoner
Posts: 79
Joined: Thu Jul 11, 2002 3:57 pm
Location: Sweden, Lund

Post 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
Post Reply