famsf / 4d-mysqldump

Connects to a 4D database and dumps all or some tables structure/data to valid MySQL SQL statements.
GNU General Public License v2.0
11 stars 8 forks source link

4D SQL dump without PDO_4D #1

Open PhenX opened 7 years ago

PhenX commented 7 years ago

Hello, FYI, I just released a script which is able to make a dump without the need of PDO_4D. It uses a direct connection to the SQL server, via a socket. Of course, it doesn't have memory leaks, and other surprises from this PECL lib.

As of now, I made it "quick and dirty" for a urgent need, but feel free to report any issue or feature request.

https://github.com/PhenX/4d-dumper

I thought it could be helpful :)

mikkeljohnsen commented 4 years ago

@PhenX Perfect, I just forked it an made a branche for "PostgreSQL" and version 13.0 of 4D.

https://github.com/openmedicus/4d-dumper/tree/postgres