Hi,
Just dump the tables from the original database:
% mysqldump -h yourhost -u root -p yourpass existing_dbname > dbname.sql
Then import the dump into your new database:
% mysql -h yourhost -u root -p yourpass new_dbname < dbname.sql
Should get you started.
Nick
> ----- Original Message -----
> From: "Jeremy Morano" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 25, 2001 4:19 PM
> Subject: copy tables to another db
>
>
> >
> >
> > Hi there I was wondering how to copy tables from one db to the another?
> >
> > can't find it in the manual...
> >
> > ---------------------------------------------------------------------
> > 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
> >
>
---------------------------------------------------------------------
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