0

我无法创建与 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."

谢谢

4

2 回答 2

0

To start connection for your Mysql Server is easy.

First when you try to do new connections you will need to choose TCP.

Then you need to fill up with these details :

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)

After that you can make your connection.

于 2012-09-27T07:23:20.600 回答
0

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

您可以在以下位置找到该文件:/etc/mysql/my.cnf

将 bind-address=127.0.0.1 更改为 bind-address=your_server_ip

重启mysql服务器然后尝试连接

看这里

于 2015-06-25T13:50:44.607 回答