PHP Classes

CRUD MySQL and MySQL dump to SQL file: I need a class for connect to MySQL and dump SQL file

Recommend this page to a friend!
  All requests RSS feed  >  CRUD MySQL and MySQL dump to SQL file  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

CRUD MySQL and MySQL dump to SQL file

Edit

Picture of Jose Miguel by Jose Miguel - 10 years ago (2014-10-28)

I need a class for connect to MySQL and dump SQL file

This request is clear and relevant.
This request is not clear or is not relevant.

+5

Create insert statement, update, select and delete statments

Ask clarification

2 Recommendations

PHP MySQL Database Export to SQL: Dump a MySQL database records to a SQL file

This class can dump a MySQL database records to a SQL file.

It can get the list of tables of a given MySQL database and retrieve the data of the records of those tables.

The class can generate a file with SQL statements to insert the data back into the database tables.
This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Bharat Parmar by Bharat Parmar package author package author Reputation 455 - 8 years ago (2016-04-11) Comment

This class can dump a MySQL database records to a SQL file.

It can get the list of tables of a given MySQL database and retrieve the data of the records of those tables.

The class can generate a file with SQL statements to insert the data back into the database tables.

  • 1 Comment
  • 1. Picture of bisma by bisma - 5 years ago (2020-01-27) Reply

    z


mysql_dump: Backup and restore MySQL databases from SQL files

This class can be used to take backups of MySQL databases by generating files with SQL commands similar to the output of mysql_dump program.

It can also restore a database from SQL commands generated by the backup process.

The class can generate the backup output of one or more databases. It may also backup all tables of a database or just a few tables.

The output may be stored in a file or served for download. It may have line breaks characters compliant with either Unix/Linux, Windows or Mac OS.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 10 years ago (2014-10-28) Comment

If you just want to create a backup file if a MySQL database using SQL statements, this class offers a certain flexibility because it can create MySQL dumps of multiple databases, or let you choose just a set of database tables.


Recommend package
: 
: