简体   繁体   English

SQLYOG 中的 MySQL 服务器连接问题

[英]Mysql Server Connect Issue in SQLYOG

is there any way to connect to a remote database by using SQLyog?有什么方法可以使用 SQLyog 连接到远程数据库? I have the ip address, user name and password of the database.我有数据库的IP地址、用户名和密码。 However, I have 'Error 2003 - Can't connect to MySQL server on '[myIpAddress]' (10035) whenever I test connection in SQLyog.但是,每当我在 SQLyog 中测试连接时,我都会出现“错误 2003 - 无法连接到“[myIpAddress]”(10035) 上的 MySQL 服务器。

需要同时使用 ssh 连接和 mysql 服务器连接才能建立成功的连接。

You need to add % wild card in your cpanel to enable mysql remote connection, if you cannot do this, you can use SSH tunnel to connect to database, Please check the following screenshot您需要在您的 cpanel 中添加 % 通配符来启用 mysql 远程连接,如果您不能这样做,您可以使用 SSH 隧道连接到数据库,请查看以下截图

在此处输入图像描述

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM