You are here: Re: Need script to copy a database and all it's tables « PHP Programming Language « IT news, forums, messages
Re: Need script to copy a database and all it's tables

Posted by Jerry Stuckle on 07/10/07 14:48

Robbo wrote:
> Thanks for all your input. Perhaps I should have been more specific in
> the question -
>
> I need re-useable php code to get the structure of a MySql database
> and it's tables then to create a new EMPTY MySql database with the
> same structure.
>
> All help appreciated
>

Robbo,

OK, that's a different story.

You're probably better off using the MySQL calls to get your information
- such as SHOW TABLES to get the table list, SHOW CREATE TABLES to get
the CREATE TABLE statement used, etc.

You can go to comp.databases.mysql for the MySQL statements you need.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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