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.
我有一个应该与数据库(mysql)一起工作的程序。该数据库位于专用服务器上。
我想通过远程桌面连接到数据库。我读到可以检查输入的
telnet ip-dedicated-server 3306
在旧的远程桌面上它可以工作,但是当我尝试连接到数据库时显示新的远程桌面
无法从您的 IP 地址获取主机名
我找到了解决方案
在下面的 mysql 服务器配置 my.ini 或 my.cnf 中
[mysqld]
添加
跳过名称解析
并重新启动 mysql 服务器