当前位置:网站首页>Local MySQL forget password modification method (Windows) [easy to understand]
Local MySQL forget password modification method (Windows) [easy to understand]
2022-07-04 11:03:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
Do you have the embarrassment of forgetting your password Are you connected Mysql It's embarrassing to forget the installation path of Don't ask me how I know that , Ha ha ha Don't talk much , Let's get to the point !
If you remember mysql If the installation path of , Skip step directly 1 2 3
1. keyboard Windows + R, Input services.msc And then go back ;
2. find Mysql, Right click Mysql Find the attribute , Open it and you can see the path of the executable file ;
PS: You can switch to uppercase , Then press... All the time M M M…( Ancestral recipe )
3. Get into bin Under the table of contents , Hold down shift + Right mouse button , Click on the open “ Open here Powershell window ”
4. Close the service , Enter... In the command window
4.1 net stop mysql
4.2 mysqld –console –skip-grant-tables –shared-memory
Don't close the window yet
5. Like steps 3 Open a command window again
5.1 mysql -u root -p enter , Now let you enter the password , No input , Directly enter
5.2 use mysql
5.3 update user set authentication_string=” where user=’root’;
5.4 quit
6. close window 1、2, Remake steps 3 Open a command window again
6.1 net start mysql
6.2 mysql -u root -p enter , No password , enter
6.3 ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘root2020’;
7. Change the password , The new password is root2020.
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/149139.html Link to the original text :https://javaforall.cn
边栏推荐
- On binary tree (C language)
- [test theory] test the dimension of professional ability
- [testing theory] thinking about testing profession
- Canoe - the third simulation project - bus simulation-1 overview
- Jemeter script recording
- Locust learning record I
- iptables导致Heartbeat脑裂
- 2022 AAAI fellow release! Yan Shuicheng, chief scientist of sail, and Feng Yan, Professor of Hong Kong University of science and technology, were selected
- Canoe-the second simulation project-xvehicle-1 bus database design (idea)
- Usage of with as
猜你喜欢
![[test theory] test process management](/img/d2/65865dffacf38d9a8be720868b75f0.jpg)
[test theory] test process management

Notes on writing test points in mind mapping

Canoe - the third simulation project - bus simulation - 3-1 project implementation

Canoe: what is vtsystem

Elevator dispatching (pairing project) ③

Fundamentals of software testing

Canoe test: two ways to create CAPL test module

Deepmind proposed a Zuan AI, which specially outputs network attack language

Unittest+airtest+beatiulreport combine the three to make a beautiful test report

Take advantage of the world's sleeping gap to improve and surpass yourself -- get up early
随机推荐
Locust installation
Elevator dispatching (pairing project) ③
Performance test process
Canoe - the second simulation engineering - xvehicle - 2panel design (principle, idea)
Usage of with as
本地Mysql忘记密码的修改方法(windows)[通俗易懂]
Recursive method to achieve full permutation (C language)
Some tips on learning database
Solaris 10网络服务
2、 Operators and branches
MBG combat zero basis
Canoe: what is vtsystem
20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse
Is Sanli futures safe? How to open a futures account? How to reduce the handling charge of futures at present?
VI text editor and user rights management, group management and time management
[Galaxy Kirin V10] [desktop] printer
shell awk
[Galaxy Kirin V10] [desktop] login system flash back
Huge number (C language)
Swagger and OpenAPI