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
License
Creative Commons Attribution LicenseFollow PHPSyncMysql
nel_h2
Gen AI apps are built with MongoDB Atlas
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHPSyncMysql!