简体   繁体   English

phpcloud和Mysql Workbench连接

[英]Phpcloud and Mysql Workbench connection

I have been struggling how to connect Mysql Workbench with Phpcloud.com Mysql instance since friday ? 自星期五以来,我一直在努力如何将Mysql Workbench与Phpcloud.com Mysql实例连接? Below there is error which I get image 下面有我得到图像的错误

Anyone has did it working properly ? 有人能正常工作吗?

The error message about the initial package usually indicates there was no server found at that address and port. 有关初始程序包的错误消息通常表明在该地址和端口上找不到服务器。 Keep in mind that due to the SSH tunnel the remote server appears like it is a local one. 请记住,由于使用SSH隧道,因此远程服务器看起来像是本地服务器。 The remote end of the tunnel sees the server locally too, since it is on the same machine as the MySQL server (I assume). 隧道的远程端也可以在本地看到服务器,因为它与MySQL服务器在同一台计算机上(我认为)。 So what you need is the localhost address for the MySQL server. 因此,您需要的是MySQL服务器的本地主机地址。 The other thing to check are the ports: 1) Does the SSH connection really work with port 22? 要检查的另一件事是端口:1)SSH连接是否真的可用于端口22? 2) Is your firewall blocking this port? 2)您的防火墙是否阻止了此端口? 3) Is the remote MySQL server really listening on port 3306? 3)远程MySQL服务器是否真的在端口3306上侦听?

As a side node: on Windows you can usually just press Ctrl+C in error messages to copy the message to the clipboard. 作为辅助节点:在Windows上,通常只需在错误消息中按Ctrl + C即可将消息复制到剪贴板。

Please look at the second section "Managing your Database Instance" at http://www.phpcloud.com/help/accessing-the-db 请查看http://www.phpcloud.com/help/accessing-the-db的第二部分“管理数据库实例”

You need to establish a tunnel using SSH client (putty will be best in your case) and then access the server on port 13306 (local). 您需要使用SSH客户端(最好使用putty)建立隧道,然后通过端口13306(本地)访问服务器。

I don't use Workbench but I assume it tries to establish a regular SSH connection and not a tunnel and this will not work. 我不使用Workbench,但我认为它会尝试建立常规的SSH连接而不是隧道,因此无法正常工作。

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

相关问题 phpcloud用MySQL连接上传zf2时出错 - Error in phpcloud uploading zf2 with MySQL connection MySQL Workbench 5.6在连接到本地主机时崩溃 - MySQL Workbench 5.6 crashes on connection to localhost PDO 连接失败但在 MYSQL 工作台中工作 - PDO connection failed but working in MYSQL workbench 通过PHP而不是通过MySQL Workbench拒绝与远程MySQL主机的连接 - Connection denied to remote MySQL host through PHP but not through MySQL Workbench laravel 在 mysql Workbench 中发布 null,而连接似乎很好 - laravel posting null in mysql Workbench while connection seems fine PHP中的数据库连接未知错误,MySQL服务器工作台不在phpmyadmin中 - Database connection Unknown error in PHP with MySQL server workbench not in phpmyadmin 无法在本地网络连接上使用工作台访问mysql服务器 - Not able to access mysql server using workbench on local network connection MySQL 工作台错误:在“读取初始通信数据包”时失去与 MySQL 服务器的连接,系统错误:0 - MySQL Workbench Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 Raspberry 4 (Buster) 上的 mysql / mariaDB 连接/权限问题; phpMyadmin 出错; MySQL Workbench 没有连接 - mysql / mariaDB on Raspberry 4 (Buster) troubles with connections / rights; Error by phpMyadmin; no connection by MySQL Workbench PHP和MySQL工作台 - PHP & MySQL Workbench
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM