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
1. overflow:hidden overflow hidden If overflow:hi...
What is CSS# CSS (abbreviation of Cascading Style...
Table of contents in conclusion Practice Analysis...
1. Create a new user wwweee000 [root@localhost ~]...
Let's take a look at the detailed method of b...
This article example shares the specific code of ...
Table of contents In vue2 In vue3 Notes on setup ...
In actual web page development, accordions also a...
1. Function : Allows the parent component to inse...
Recently, many students have asked me about web p...
Table of contents 【Common commands】 [Summary of c...
This article uses examples to describe MySQL dupl...
Preface This article introduces a simple BAT scri...
<br />Once, Foyin and Mr. Dongpo were chatti...
describe: When the Tabs component switches back a...