2012-08-04 143 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