Hi Jorge,
you usually do something like

mysqldump -u USER -p TABLE > FILE

where TABLE is dumped to the FILE. USER must have privileges to do so (I
usually take the superuser).

The other way around you simply have to do

mysql -u USER -p TABLE < FILE

Should work then,
Tobias.

-----Ursprüngliche Nachricht-----
Von: Jorge Cordero [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 9. März 2001 04:31
An: mysql
Betreff: How can i duplocate a database???? i 've tried mysqldump can
get it towork ANy ideas??


I am trying to make several copies of a database i have tried
 mysqldump -databasename can some one throw a piece of code please;

Thanks


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to