繁体   English   中英

无法在 Toad MySql 中创建连接

[英]Can't create a connection in 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."

谢谢

开始连接您的 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)

之后,您可以建立连接。

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

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

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

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

看这里

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM