需要 MySQL 同步方面的帮助

发布于 2024-12-19 19:27:48 字数 201 浏览 3 评论 0原文

对于我当前正在工作的项目之一,我需要将本地 mysql 数据库与服务器数据库同步。将有 2 台机器连接到服务器中的同一个数据库。我使用 SQL Yog 软件与在线数据库进行 mysql 同步。目前它运行良好。目前我有一个静态IP,但是当我将应用程序放到客户端的机器上时,我不确定他有一个静态IP。但我想知道我是否必须有一个静态IP才能使mysql与服务器数据库同步?

谢谢

For one of my project that I'm current working, I need to sync local mysql databas with the server db. There will be 2 machines which connect to the same db in the server. I use SQL Yog Software for mysql synchronization with the online db. Its currently working perfectly. Currently I have a static IP but when I put the app to the client's machine, I'm not sure he has a static IP. But I want to know do I have to have a static IP for mysql sync with the server db?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱情眠于流年 2024-12-26 19:27:48

您不需要有静态 IP。您也可以使用主机作为客户端系统名称来创建用户(使用用户管理器)。

例如: 在此处输入图像描述

You do not need to have a static IP. You can create a user (using the User manager) with the host as the client system name as well.

For example: enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文