RE: [PHP] easy mysql question
| From: | Don Read | Date: | Mon, 09 Jul 2001 03:15:12 +0000 |
| Subject: | RE: [PHP] easy mysql question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56863@lists.php.net to get a copy of this message | ||
On 09-Jul-01 zerosumzero@yahoo.com wrote:
> Since I first made the tables for my site I've had to modify them quite a
> bit. I always keep a copy of the commands I used to make the tables in case
> I need to move a site. Is there a way to ask mysql to list the create table
> commands?
>
$ mysqldump -d [--add-drop-table database [table, ...]
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.