Skip to content

PhenX/4d-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4D database dumper

This script is intented to be used on 4D SQL servers, to dump the database as CSV files + MySQL table declaration.

Requirements

  • PHP 5.3+
  • sockets extension

Usage

php dump.php [--host 127.0.0.1] [--port 19812] [--username admin] [--password abcd] [--output out] [--tables comma separated list of tables] [--limit 1000000]

Will output, by table, in the output directory :

  • one SQL file containing MySQL CREATE TABLE
  • one CSV file containg data

License

LGPL - GNU Lesser General Public License

Releases

No releases published

Packages

No packages published

Languages