当前位置:网站首页>mysql cannot connect remotely Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (10060 "Unknown error")
mysql cannot connect remotely Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (10060 "Unknown error")
2022-07-30 05:08:00 【Pai Xiaoxing】
Many friends have installed mysql on their servers, and then found that they have turned on the mysql service in the server, and then turned off the firewall, but they can't connect, and then use the user to log in. The password is also entered correctly, but it isCan't connect, and prompts this error

At this time, it was found that because the host only set the local connection, it needs to be modified to connect
Enter the database
mysql -u root -p
Enter the root password to enter the database
use mysql;Use this library of mysql

Check the user's host
select host,user from user;
At this time, I found that the host of my adai user can only be connected locally. At this time, I need to change it to %, so that others can use this account to connect
update user set host='%' where user='adai';
Let's check again

The modification has been completed at this time, and the connection can be successfully connected at this time

边栏推荐
- 字符串问题(上)
- webService interface
- 美国再次加息75个基点 陷入“技术性衰退”?加密市场却呈现复苏力量
- js operation to add or subtract from the current date (day, week, month, year)
- 小程序使用npm包定制全局样式
- POJ1321 chessboard problem (detailed explanation)
- SVN View Username and Password
- Usage of EFR32 as sniffer for Zigbee/Thread
- Using the GPU parallel computing 】 【 OpenCL&OpenCLUtilty GPU parallel computing
- Hexagon_V65_Programmers_Reference_Manual(11)
猜你喜欢

Hexagon_V65_Programmers_Reference_Manual (10)

【Vitis】ZCU102开发板PS端控制PL端复位的代码实现

Record of problems encountered by the pyinstaller packager

Unity stepping on the pit record - the use of GetComponent

小程序npm包--API Promise化

QT(39)-vs development qt program prompts that the source file cannot be opened

2.6 Radix sort (bucket sort)

GO language study notes one

IIS网站出现401未授权访问

Hexagon_V65_Programmers_Reference_Manual (14)
随机推荐
C语言实现安全性极高的游戏存档并读档
模拟问题(下)
String Problem (Part 1)
Nuxt3 learning
Six, read application configuration + log configuration
SVN View Username and Password
go language study notes 4
Predictive maintenance scheduling of multiple power equipment based on data-driven fault prediction
L2-025 分而治之
Catch That Cow (detailed)
关于组织开展2022年广东省技术先进型服务企业认定工作的通知
Code readability, pre-checks, comments and summaries
[3D Detection Series-PointRCNN] Reproduces the PointRCNN code, and realizes the visualization of PointRCNN3D target detection, including the download link of pre-training weights (starting from 0 and
2.6 Radix sort (bucket sort)
字符串问题(上)
Solve the error SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xb7 in position 0: invalid start b
mysql isolation level
1. Get data - requests.get()
三、依赖配置管理
How with Mexico Volkswagen VW EDI connection to Mexico