当前位置:网站首页>Solution of mysql8 forgetting password file in Windows Environment
Solution of mysql8 forgetting password file in Windows Environment
2022-07-02 10:35:00 【Red eye Aromatherapy】
【 Implementation Engineer 】—— A neglected senior 【 The human nature 】 Technical post
Be commonly called 【 wipe 】 An honest man .
however , It's really a 【 Honest man 】 Do you ?
【 Honest man 】 Can you solve all kinds of pits in this ?
【 Preach 】 Because of 【 Programmers and test engineers 】 Leave the 【 Historical legacy 】 problem , A bunch of people 【 resentment 】 You don't have a strong 【 psychology 】 and 【 Ability 】 Why should we carry it ?
【 Implementation Engineer 】—— The real strong
【 Home of implementation engineers 】—— The main solution is
The current channel is divided into 【8】 A module , Basically, the implementation of social mainstream covers , Of course , for example 【 Handheld devices 】 Operation and maintenance , The teacher paid me less , It has not been opened yet , Back then, there are some small partners who have technology in this field to exchange , I will also set up this channel for you .
Catalog
2、 stay MySQL Of bin Create password file under folder 【newpwd.txt】
4、 close 【cmd】, start-up MySQL service
1、 stop it MySQL service
Right click to stop the service
2、 stay MySQL Of bin Create password file under folder 【newpwd.txt】
Content : It means to say root The password of the account is changed to root, Account number and password are 【root】 Good record
ALTER user [email protected]'localhost' identified by 'root';
3、 Run... With administrator privileges cmd, Open to MySQL Of bin Under the table of contents , Run the following command :
Look at the path , My path here is 【MySQL】 Executed under the root directory of
mysqld --defaults-file="my.ini" --init-file="bin/rootpwd.txt"
mysqld Is to initialize the database , The following meaning is to perform the configuration of changing password after formatting
4、 close 【cmd】, start-up MySQL service
Use 【root】 As password , Link to .
边栏推荐
- 【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
- [ue5] blueprint making simple mine tutorial
- Blender体积雾
- Applet development summary
- 【避坑指南】Unity3D项目接入腾讯Bugly工具时遇到的坑
- Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
- [200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
- Database -- acid of transaction -- introduction / explanation
- Remember a simple Oracle offline data migration to tidb process
- [Fantasy 4] the transformation from U3D to UE4
猜你喜欢
[ue5] blueprint making simple mine tutorial
Basic notes of illusory AI blueprint (10000 words)
快速做出原型
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
Network real-time video streaming based on OpenCV
Blender ocean production
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
Blender体积雾
pytest框架实现前后置
两数之和,求目标值
随机推荐
Determine whether there are duplicate elements in the array
Blender stone carving
Following nym, the new project Galaxy token announced by coinlist is gal
sqoop创建job出现的一系列问题解决方法
【Unity3D】无法正确获取RectTransform的属性值导致计算出错
Blender ocean production
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
stm32和电机开发(上位系统)
Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
[pit avoidance guide] pit encountered using ugui: the text component cannot indent the first line by two spaces
Excuse me, is it cost-effective to insure love life patron saint 2.0 increased lifelong life insurance? What are the advantages of this product?
Project practice, redis cluster technology learning (12)
Blender volume fog
Importing tables from sqoop
Pycaret | a few lines of code to solve machine learning modeling
[unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
Stm32 et développement de moteurs (système supérieur)
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
高考的意义是什么