当前位置:网站首页>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 .
边栏推荐
- 【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
- 测试--面试题总结
- Blender model import UE, collision settings
- Project practice, redis cluster technology learning (16)
- Deep understanding of redis cache avalanche / cache breakdown / cache penetration
- 2021-10-04
- Pytest learning --base
- Pycaret | a few lines of code to solve machine learning modeling
- allure--常用配置项
- [IDL] Research
猜你喜欢

Stm32 et développement de moteurs (système supérieur)

Blender camera surround motion, animation rendering, video synthesis
![[pit avoidance guide] pit encountered using ugui: the text component cannot indent the first line by two spaces](/img/6f/e5a30dae824ccb22d1157818be58be.png)
[pit avoidance guide] pit encountered using ugui: the text component cannot indent the first line by two spaces

Flink calculates topn hot list in real time

Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer

Operator-1初识Operator

STM32 and motor development (upper system)

MPLS experiment

Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud

2021-10-04
随机推荐
Pytest framework implements pre post
Network real-time video streaming based on OpenCV
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?
Blender多鏡頭(多機比特)切換
SAP Spartacus express checkout design
互联网快讯:腾讯会议应用市场正式上线;Soul赴港递交上市申请书
Remember a simple Oracle offline data migration to tidb process
【MySQL】连接MySQL时出现异常:Connection must be valid and open
Blender海洋制作
KS009基于SSH实现宠物管理系统
Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
Vscode set JSON file to format automatically after saving
Blender camera surround motion, animation rendering, video synthesis
Mock Server基本使用方法
01-spooldir
虚幻AI蓝图基础笔记(万字整理)
【避坑指南】使用UGUI遇到的坑:Text组件无法首行缩进两格
[unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
Pytest-- test report allure configuration
lunix重新分配root 和 home 空间内存