我刚刚启动了运行 ubuntu 14.04 LAMP 服务器的 digital ocean 服务器。我使用了我的 Droplets IP 地址,root 作为用户和端口 3306。我输入了正确的密码,但我终究无法连接到我的服务器上的 SQL。有什么建议吗?
mySQL Workbench 中的错误:
Your connection attempt failed for user 'root' from your host to server at myIP:3306:
Can't connect to MySQL server on 'myIP' (61)
最佳答案
我在这里找到了这个答案:
MySQL Workbench works without any configuration necessary. When making a new connection, select "Standard TCP/IP over SSH", then change the SSH and MySQL parameters as necessary. (You should probably keep the SQL server IP address as 127.0.0.1.)
关于mysql - Digital Ocean,使用 mySQL workbench 连接数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29129147/