Reply to Re: import mysql dump OR copy database with PHP

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация