Open CMD as an administrator and run net start Mysql to start the service. There is no problem starting.
It is said that the port number was changed, show global variables like ‘port’; You can find it. There’s no problem after checking it.
Later, it was correct to change the SQL host address to localhost.
Read More:
- [Solved] Sqlyog always reports an error when creating a new connection.
- (Fixed) workbench MySQL Error Code: 2013. Lost connection to MySQL server during query
- IDEA maven Config MYSQL Connection Error: Could not create connection to database server.
- Remote connection to MySQL database error: is not allowed to connect to this MYSQL server solution
- [Solved] MySQL connection error: communications link failure
- C# Connect MYSQL Error: MySql.Data.MySqlClient.MySqlException:“SSL Connection error.”
- C# connection MySQL error: SSL connection error [Solved]
- [Solved] There is a problem with mysql8.0 without password in Navicat connection
- [Solved] docker mysql SQLSTATE[HY000] [2002] Connection refused
- MySQL (version 8.0) connection error: 1251 [How to Solve]
- Docker: How to Solve MYSQL8 & Navicat remote connection error
- Mysql Flashback Warning: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe
- [Solved] ERROR 2002 (HY000): Can’t connect to local MySQL server through socket’/var/lib/mysql/mysql.sock’ (2)
- [Solved] Navicat connection error 1251 compatibility with docker MySQL
- [Solved] Error Code: 2013. Lost connection to MySQL server during query
- Android connection to cloud MySQL error: java.lang.NoClassDefFoundError Failed resolution of LjavasqlSQLType
- [Solved] SQLSTATE[HY000] [2002] Connection refused to report an error when PHP connects to mysql in the docker container
- MySql Install Error: Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘
- [Solved] Druid connection pooling Error: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- [Solved] Windows MYSQL Error: django.db.utils.OperationalError: (2026, ‘SSL connection error: unknown error number‘)