我无法创建到Toad MySQL的简单连接。
在创建过程中:
Connection Type : TCP
User : My user name.
我不知道我应该在这里输入哪个用户名?当我安装它的时候,出现的用户名还是我为了下载安装而输入的用户名?
Password : Should i choose a password.
当我下载安装程序时,在安装过程中我不需要选择密码。
DataBase: Does any meaning for lower cases or higher cases?
Port : 3306
The error i got : "Unable to connect to any of the specified MySQL hosts."
谢谢
发布于 2012-09-27 15:23:21
为您的Mysql服务器启动连接很容易。
首先,当你尝试建立新的连接时,你需要选择TCP。
然后,您需要填写以下详细信息:
Host: The ip address of the Mysql server
User: the username for mysql database
Password: the password for mysql database
Database: the name of the database
Port : leave this as default (3306)
在此之后,您就可以进行连接了。
发布于 2015-06-25 21:50:45
更改my.cnf配置文件中的默认设置。
您可以在以下位置找到该文件: /etc/mysql/my.cnf
将bind-address=127.0.0.1更改为bind-address=your_server_ip
重新启动mysql服务器,然后尝试连接
See Here
https://stackoverflow.com/questions/11806708
复制相似问题