来自其他服务器的远程 MySql 连接

发布于 2024-12-19 13:21:38 字数 148 浏览 4 评论 0原文

我必须使用位于其他服务器上的 MySql 数据库。我有它的IP、用户名和密码。

如何与远程 MySql 数据库建立连接。是否需要通过远程 MySql 数据库提供商向我的 IP 地址授予任何权限。我认为这是强制性的

发表你的意见。

谢谢

I have to use MySql database which is lie on other server. I have it's IP, username and password.

How I can make connection with remote MySql data base. Is there need to give any permission to my IP address by remote MySql database provider. I think that would be mandatory

Give your opinions.

Thanks

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

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

发布评论

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

评论(2

够钟 2024-12-26 13:21:38

有几个步骤要做,只需按照本教程

基本上,你必须:

  • 启用网络
  • 设置 bin 地址
  • 授予从另一个 ip 到数据库用户的访问权限

there are a few steps to do, just follow this tutorial.

basically, you'll have to:

  • enable networking
  • set a bin-address
  • grant access from another ip to your database-user
金橙橙 2024-12-26 13:21:38

要从其他服务器访问Mysql数据库,您必须在当前服务器上启用mysql远程连接才能访问它。有关更多信息,请参阅以下链接 http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

To access Mysql database from another server, you have to enable mysql remote connection in the current server.So that you can access it. For more info just refer the following link http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

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