2012-08-04 65 views
0

我无法创建Toad MySQL的简单连接。无法在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." 

感谢

回答

0

要启动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) 

之后,你可以让你的连接。

0

更改my.cnf配置文件中的默认设置。

您可能会发现在以下位置该文件: /etc/mysql/my.cnf

更改绑定地址127.0.0.1 =绑定地址= your_server_ip

重新启动MySQL服务器,然后尝试连接

See Here