当前位置:网站首页>How to handle root password forgetting in MySQL
How to handle root password forgetting in MySQL
2022-06-22 07:56:00 【yolo2016】
Mysql in root How to handle password forgetting
#/etc/my.conf Add such as down line
skip-grant-tables
#######################
systemctl restart mysqld
mysql -uroot
update mysql.user set authentication_string=password('root') where user='root';
flush privileges;
select Host ,User,Password, authentication_string from user;
#/etc/my.conf Add such as down line
# The notes are as follows skip-grant-tables And restart mysqld After the service, you can log in normally
边栏推荐
- [multi thread programming] thread scheduling strategy and priority
- 【宋红康 MySQL数据库 】【高级篇】【06】MySQL的逻辑架构
- 模电实验——实验一 晶体管共射极单管放大器
- Concurrent programming summary
- Blob format problems involved in image uploading
- 3、 Stylesheet component
- mysql截取字符串CS0000_1中_后面的字符
- (7) Bidirectional linked list
- 4、 Button component
- AutoCAD 2020.3中文版 (旧版本)
猜你喜欢

OSI and tcp/ip

lr 2022超详细安装教程「最新」

Model electricity experiment -- Experiment 1 transistor common emitter single transistor amplifier

LNMP environment setup

navicat如何查询已连接的数据库密码信息

Get through - coupons

代码覆盖率测试对编程小白的意义及其使用方法

Canvastotempfilepath of wechat

Vue page caching problem solving (keep alive + page level routing guard + lifecycle activated)

对于mysql中数据为NULL引发的一些问题和思考
随机推荐
Kotlin a simple Android program
How Navicat queries the password information of the connected database
Xmind 2022思维导图激活版资源?
【图论常见模板题】4种最短路解法和2种最小生成树解法
Introduction to several mainstream and easy-to-use rich text editors (WYSIWYG common editors)
Scrollrect rewrite recycle
8、 Slider assembly
ASP. Net core development experience
Unity AssetBundle packaging
模電實驗——實驗二 JFET共源極放大電路
Ffmpeg pit
setneedsdisplay layoutifneeded setNeedsLayout
Cocoapods problem record
充电宝的玄机
5、 Image component
What is distributed transaction
[common template problems in graph theory] four shortest path solutions and two minimum spanning tree solutions
代码覆盖率测试对编程小白的意义及其使用方法
Wechat games (3)
Energy and interference of waves