[PHP] how to transfer a local DB to a DB on Server ?

2001-11-27 Thread trongduc

does anyone know ?
pls help me, thanks...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] how to transfer a local DB to a DB on Server ?

2001-11-27 Thread Steve Werby

trongduc [EMAIL PROTECTED] wrote:
 does anyone know ?
 pls help me, thanks...

Very open-ended, do you have some details?  What type of database?  Is this
really PHP related?  The short answer is to use a program to generate SQL
statements for all of the source db's tables and pipe the SQL statements to
the target db to recreate the database.  For example, mysqldump and pg_dump
are available for mysql and postgresql respectively.  Or if your db supports
it and the source and target machines are similar you may be able to copy
the database files directly from the source machine to the destination
machine using FTP.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]