Posted by J.O. Aho on 03/16/07 23:27
Eric H. wrote:
> I know this has likely been asked a million times so I'm gonna keep it
> brief.
>
> 1. I'm in need of creating clones of a database I'm using as a template.
>
> 2. I've got a dump that I'm currently using "exec('mysql -p dbname
> <dump.sql')" to clone but I'm looking for a more elegant way of doing this.
IMHO this is an elegant solution to the whole, parsing the dump file and then
use sql queries and error checking for each query feels a bit overkill.
--
//Aho
Navigation:
[Reply to this message]
|