Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用 Python 编写了一个代码,可以访问我计算机中的 Mysql 数据库。我的问题是如何让我的程序在其他机器上运行,即如何传输数据库?感谢您阅读...
use the tools that come with MYSQL installation from command line
backup
mysqldump -u root -p pass21 --databases yourdb > multibackup.sql
restore
mysql -u sadmin -p pass21 Customers < multibackup.sql
Backing-up-and-restoring-your-MySQL-Database