Pro test is effective:
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor: NO)
First C:\Program Files\MySQL\MySQL Server 8.0
look in the directory to see if there is one my.ini
.
If so, follow the first step below, if not.
my.ini
The file should be under the C:\ProgramData\MySQL\MySQL Server 8.0
path. After copying it to the above path, follow the first step.
Remember to restart the mysql service after the update.
win+S
Search for services, find MYSQL and MYSQL80, and restart them.
https://blog.csdn.net/dream_miracle/article/details/82663652
After it can be used locally, and then use Navicat to visualize the database, there will be problems with the first connection:
Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (10061)
If this problem also occurs in the first link above, the following methods can also be used to solve it.
https://blog.csdn.net/wen_3370/article/details/72821443
Use Navicat for Mysql to connect to the server MySql.
question:
2013-Lost connection to MYSQL server at 'reading for initial communication packet',system error:0
- Make sure the server closes the firewall firewalld.service
- Check whether the Mysql remote login account is enabled
- Use
ss -tlnp
to see if the current port is open - The port number can be found in the mysql directory
my.cnf
, mine is not 3306, so I made an oolong. and add modifications. For specific operations, see:
https://blog.csdn.net/qq_16885135/article/details/53096451
is great!
https://blog.csdn.net/Homewm/article/details/81316852
This article mentioned that when Navicat connects to the database, the username and password are常规连接
different from thoseSSH
when connecting.