https://github.com/phenx/4d-dumper
4D SQL database dump script
https://github.com/phenx/4d-dumper
4d database dump mysql php
Last synced: 11 months ago
JSON representation
4D SQL database dump script
- Host: GitHub
- URL: https://github.com/phenx/4d-dumper
- Owner: PhenX
- Created: 2016-11-17T11:28:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-07T13:56:19.000Z (over 9 years ago)
- Last Synced: 2025-02-28T21:05:19.364Z (over 1 year ago)
- Topics: 4d, database, dump, mysql, php
- Language: PHP
- Size: 7.81 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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