How to change the password in MySQL 5.7.18: 1. First shut down the MySQL server: You can shut down mysql directly in the task manager, or you can shut down mysql in cmd: net stop mysql 2. Open the safe mode and log in without a password: In cmd, jump to the installation directory: d: cd D:\Mysql\mysql-5.7.18-winx64\bin Then enter: 3. Open another DOS window and enter 4. Next, open the mysql database: use mysql; Then enter update mysql.user set authentication_string=password('new password') where user='root'; 5. Open the MYSQL server! ! ! You can open it manually or enter net start mysql in cmd to open it. 6. Next you can log in using your new password. The above is the method of changing the password of MySQL5.7.18 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor 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:
|
<<: WeChat applet development chapter: pitfall record
>>: Ubuntu Server Installation Tutorial in Vmware
When working on a recent project, I found that th...
Table of contents Preface: 1. Reasons for the eve...
Purpose Understand the Nginx ngx_http_limit_conn_...
introduction Have you ever encountered a situatio...
1. Page requirements 1) Use standard headers and ...
Table of contents 1. Document.execCommand() metho...
Event loop in js Because JavaScript is single-thr...
This article shares a blinds special effect imple...
Table of contents join algorithm The difference b...
What is a web page? The page displayed after the ...
Fault site: Log in to the MySQL server and get th...
one. wget https://dev.mysql.com/get/mysql57-commu...
Open the cpanel management backend, under the &qu...
In fact many people will say “I’ve seen that table...