Enter net start mysql in cmd and the prompt is: The service name is invalid Please go to the bin directory of MySQL and open a command line window in the bin directory, or set the system environment variables and enter It indicates that the MySQL service has been installed successfully. Enter mysql8.0 forgotten password modification: The following code is feasible You were asked to set a password when installing MySQL earlier, but that password doesn’t seem to be used. What you should enter here is the random initial password it automatically generates, and this initial random password is placed in a .err file in the MySQL installation directory. There seems to be only one .err file in the entire folder. Just search it in the folder. ALTER USER "root"@"localhost" IDENTIFIED BY "your new password"; Summarize The above is what I introduced to you about mysql8.0 forgotten password modification and invalid net command service name. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Tutorial analysis of quick installation of mysql5.7 based on centos7
>>: vue-pdf realizes online file preview
Using Nginx's proxy_cache to build a cache se...
Install Nginx First pull the centos image docker ...
Table of contents first step: The second step is ...
(When a web page is loading, sometimes there is t...
The img tag introduces the image Because react ac...
MySQL Performance Optimization MySQL performance ...
Table of contents 1 Use of v-if and v-show 2. Dif...
Linux environment variable configuration When cus...
1. Create a runner container mk@mk-pc:~/Desktop$ ...
React Hooks is a new feature introduced in React ...
In the previous article "MySQL table structu...
As the application of centos on the server side b...
1. Perform file name search which (search for ...
Table of contents 1. Introduction to calculator f...
Recently, Microsoft released the 2019 server syst...