NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql sync w/ php

Mark Armendariz nyphp at enobrev.com
Fri Jan 23 13:31:17 EST 2004


You could look into phpmyadmin's export funcions, have it generate the
exported sql, and then run it's own import functions of that sql onto your
production server.  You would just need to allow access fro myour local
server to your production server, byut phpMyAdmin does have al lthe
functionality you would need.

Their sql generation functions (export) are pretty nice and well thought
out.  If you'd like to separate it from the innards of phpMyadmin, I highly
recommend using them.   And the import functions basically ignores all the
comments and loops through statement by statement split by semicolons.

Good luck!'

Mark





More information about the talk mailing list