You will find two different script here:
- load-mysql.php takes import.sql file, that was exported from phpmyadmin and imports it into mysql database (tested, binary safe)
- sync-mysql.php connects to two mysql databases and copies each table from first database into the second database (deletes table before copying)
This can be useful to load large mysql database into hosting, because phpmyadmin sometimes does not allow to load files greater than 2mb

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow PHPSyncMysql

PHPSyncMysql Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHPSyncMysql!

Additional Project Details

Intended Audience

Information Technology

Programming Language

PHP

Database Environment

MySQL

Registered

2015-10-20