This script is intented to be used on 4D SQL servers, to dump the database as CSV files + MySQL table declaration.
- PHP 5.3+
- sockets extension
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
LGPL - GNU Lesser General Public License