当前位置:网站首页>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 .
边栏推荐
- Blender体积雾
- How much is it to develop a system software in Beijing, and what funds are needed to develop the software
- Network communication learning
- Blender ocean production
- [tutorial] how to make the Helpviewer help document of VisualStudio run independently
- Project practice, redis cluster technology learning (16)
- 判断数组中是否存在重复元素
- Lunix reallocates root and home space memory
- AutoCAD - layer Linetype
- Network real-time video streaming based on OpenCV
猜你喜欢
Blender摄像机环绕运动、动画渲染、视频合成
互联网快讯:腾讯会议应用市场正式上线;Soul赴港递交上市申请书
Determine whether there are duplicate elements in the array
Remember the use of add method once
01安装虚拟机
AutoCAD - layer Linetype
快速做出原型
Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud
Pytest learning --base
Applet development summary
随机推荐
STM32 and motor development (upper system)
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
lunix重新分配root 和 home 空间内存
Unreal material editor foundation - how to connect a basic material
flume 190 INSTALL
Aiphacode is not a substitute for programmers, but a tool for developers
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
Blender stone carving
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
Lunix reallocates root and home space memory
02-taildir source
【避坑指南】使用UGUI遇到的坑:Text组件无法首行缩进两格
Flutter环境配置保姆级教程,让doctor一绿到底
Blender海洋制作
Network communication learning
webUI自动化学习
Flutter——Canvas自定义曲线图
Merge ordered sequence
Remember a simple Oracle offline data migration to tidb process
快速做出原型