MySQL8.0 service cannot be started 3534

MySQL8.0 service cannot be started

Recently encountered when starting the MySQL service in cmd :

The MySQL service is starting. The
MySQL service cannot be started. The
service did not report any errors.
Please type NET HELPMSG 3534 for more help.
This is a net map, because the problem has been solved

or

Appears when the mysql service is started in this computer-management-services and applications-services
If there is a watermark, just look at it

First, explain the most important solution.

Just go find the error message by yourself! Although the content on CSDN is very good, there are many reasons for MySQL errors. You need to find your own error message.

For example, I am just new to MySQL.
When this problem occurs, find a solution in CSDN.
Then I found many ways to try, but they couldn't solve it.

(This time is three or four hours in total. Originally, I was learning JDBC, so it was very difficult for beginners to have patience.)

Later, I saw a file with the suffix **.err**, and I saw the code of [error] in this file.
(I didn’t really care about it, but I suddenly found that there was an error message in it)
Suffix.err
This paragraph is the specific error code of my problem
Later, I tried to translate and find out the problem.
Unknown suffix '' used for variable'port' (value '3306 default-character-set=utf8 [WinMySQLAdmin] Server=D :\MySQL\bin\mysqld.exe'). The
unknown suffix "" is used for the variable "port" (value "3306 default character set=utf

It is found that my my.ini file has a problem

. The code above is changed.
The code below is wrong.
This is more [WinMySQLAdmin] Server=D:\MySQL\bin\mysqld.exe,
which is the Unknown suffix in the error report. Unknown suffix)

Then change the my.ini file, and run cmd with administrator privileges to
enter the MySQL\bin directory and run net start mysql.
Tears!
To sum up, beginners must learn to use error codes to find out specific errors.
Don't be impressed, because things on the Internet are time-sensitive, and maybe they won't work after a while.
At the same time, issues such as version have to be considered, and there are many influencing factors.

Guess you like

Origin blog.csdn.net/Aniu__/article/details/115323378