[英]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.