If you want a copy of the DATABASE and not of a table, I would suggest
(using unix) ...

cp -R <insert mysql data path here>/products <insert mysql datapath
here>/products1

Where the datapath is the dir that contains all the databases.. in my setup
I usually make it /var/mysql... but often its in other places.

ryan

----- Original Message -----
From: "Victor Spång Arthursson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 12:51 PM
Subject: Easiest way to create a duplicate of a db?


> For example if I want a copy of products named products1?
>
> Sincerely Victor
>
> query
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to