简体   繁体   中英

Copy MySQL structure across servers via PHP

I'm in need of help - I've got two mysql databases on different servers with a web host, and I need to copy a Joomla installation from one to the other. The problem I have is that the only way I can access the data is via php, as direct odbc connections to the database are locked down.

I don't mind doing it table by table, but have no idea of how to code the script :(

My knowledge of php is limited (hence using Joomla), so if anyone has a couple of minutes to point me in the right direction, it'd be appreciated.

Thanks in advance,

PG

Can you install phpMyAdmin ? If so, it has a database export/import functionality that would likely be perfect for this.

您可以使用mysqldump ,尽管我会先尝试phpMyAdmin,如其他发布者所建议的那样。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM