Re: Mysql question
| From: | Lists | Date: | Wed, 19 Nov 2003 01:45:14 +0000 |
| Subject: | Re: Mysql question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170220@lists.php.net to get a copy of this message | ||
This is for an intranet application, I trust my users.
Michael
On Wed, 19 Nov 2003, Raditha Dissanayake wrote:
> Creating new databases is usually done with the mysql root account. Bad
> idea to use this account in a php script.
>
> Lists wrote:
>
> >I have a db in sql, and I need a php/mysql query/command to copy the
> >entire db (schema and data) to a new db. I know how to do this with a
> >table, but I can not figure out how to do this with a whole db. I also
> >know that I could do it using mysql dump, but I don't want to have to run
> >a shell command.
> >
> >Please help,
> >MIchael
> >
> >
> >
>
>
>