On Thu, 4 Apr 2002, Anthony Ritter wrote:
> Sorry if my original question was confusing.
> This is what I would like to accomplish:
> I am currently developing a database on my website using mysql which is on
> my harddrive.
> I have installed Apache as well and I am using PHP.
> My database is functioning fine on localhost.
> I would like to find out the steps one takes in going from the process of
> having this reside on my harddrive - localhost - in development - to my
> ISP's server when it goes live.
MySQL has a command-line tool called 'mysqldump' which will output a text
file containing all the table creates and inserts necessary to recreate
As others have suggested, you can use phpmyadmin to import this file, or
you can just pipe it into the mysql command-line tool on the server once
you've created your database. Look inside the file created by mysqldump
and all will be much clearer.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php