Jump to content

Export and import .sql via PHP


fabzster

Recommended Posts

Hi

 

I have a MYSQL DB hosted on a Win 2003 server on my LAN

and a Mysql DB on a dedicated (linux) server at our ISP.

 

I would like to dump a few tables to a .sql file and ftp it to the server and then import the .sql file automatically via a cron job.

 

I can do the FTP etc. But I am unable to get the exporting and importing to work, not sure why.

 

I would really appreciate some assistance

Link to comment
https://forums.phpfreaks.com/topic/263108-export-and-import-sql-via-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.