作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我的软件数据库在本地主机的 MySQL 中,另一个数据库在服务器上。如何将 loaclhost 同步到服务器数据库?当我的 PC 连接到互联网时,我想在我的软件中添加功能,从本地主机自动更新服务器数据库中的数据
最佳答案
Replication enables data from one MySQL database server (the master) to be replicated to one or more MySQL database servers (the slaves).
Replication is asynchronous - slaves need not be connected permanently to receive updates from the master. This means that updates can occur over long-distance connections and even over temporary or intermittent connections such as a dial-up service. Depending on the configuration, you can replicate all databases, selected databases, or even selected tables within a database.
关于php - 如何自动将数据库从本地主机上传到服务器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32838077/
我是一名优秀的程序员,十分优秀!