Login   Register  
PHP Classes
elePHPant
Icontem

Class: Database Copier

  Classes of waqas khan kakar  >  Database Copier  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Database Copier Support forum
Base name: copy-class
Description: Copy tables between MySQL databases
Version: 1.0
Required PHP version: 3
Licenses: GNU Free Documentation License (FDL)
GNU General Public License (GPL)
 
  Author   Group folder image Groups   Detailed description  
  Applications   Related links   Files Files  

Author

Picture of waqas khan kakar
Name: waqas khan kakar <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Pakistan Pakistan - PHP jobs in Pakistan
Home page: http://www.virtualtech.asia/

Innovation Award

PHP Programming Innovation award winner
April 2010
Winner
Sometimes it is necessary to migrate MySQL databases between two servers.

Often it is employed the solution of dumping the origin database table to SQL file that is executed in the destination server. However this solution is usually very slow.

This class implements a faster solution that consists in querying the origin database and inserting the retrieved data in the destination database directly.

Manuel Lemos

Groups

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Systems administration System configuration and management View top rated classes

Detailed description

This class can be used to copy tables between MySQL databases.

It can access a MySQL server, list its tables, query the table record data, connect to another MySQL server and recreate the database tables with data copied from the first database.

The class can drop the destination tables with the same names if they already exist.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
www.virtualtech.asia example code with class description

Files

File Role Description
Plain text file dumper_exp1.php Example example work
Plain text file copyclass.php Class database copier
Download all files: copy-class.tar.gz copy-class.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.