当前位置:网站首页>linux下修改mysql用户名root
linux下修改mysql用户名root
2022-06-28 07:11:00 【多汁多味】
1.登录mysql
mysql -u root -p2.use mysql;
3.执行更新用户名语句
update user set user='ChenXin'where user='root'; 
4.重启mysql
service mysqld restart5.查看mysql状态
systemctl status mysqld
边栏推荐
- Reading notes - MySQL technology l act: InnoDB storage engine (version 2)
- 自律挑战30天
- HTTP Caching Protocol practice
- Puge -- three basic sorting, bubbling, selection and quickness
- R 语言 Kolmogorov-Smirnov 检验 2 个样本是否遵循相同的分布。
- OPC 协议认识
- 【Rust翻譯】從頭實現Rust异步執行器
- The practice of traffic and data isolation in vivo Reviews
- Jinshan cloud team shared | 5000 words to understand how Presto matches with alluxio
- 全方位透析真实企业软件测试流程
猜你喜欢

Kubernetes cluster lossless upgrade practice

MySQL installation steps - Linux configuration file JDK installation (II)

Libuv framework echo server C source code explanation (TCP part)
![[online tutorial] official iptables tutorial -- learning notes 1](/img/b9/8f94caa46eb46dab581c713494f36d.png)
[online tutorial] official iptables tutorial -- learning notes 1

《微信小程序-基础篇》带你了解小程序中的生命周期(一)

Principle and practice of bytecode reference detection

My MVVM open source project "travel epidemic prevention app" has been released
![[C#][转载]furion框架地址和教程地址](/img/b2/e1c30153c4237188b60e9523b0a5d8.png)
[C#][转载]furion框架地址和教程地址

Techo day Tencent technology open day, June 28 online waiting for you!

最后的二十九天
随机推荐
微信小程序分页功能,下拉刷新功能,直接干货拿来就用
强化学习——格子世界
mysql57 zip文件安装
Techo day Tencent technology open day, June 28 online waiting for you!
Puge -- singleton mode
How bacnet/ip gateway collects data of building centralized control system
The code is correct, and the rendering page does not display the reason
什么是一致性哈希?可以应用在哪些场景?
This keyword details
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
ice - 资源
Sword finger offer II 091 Paint the house
Principle and practice of bytecode reference detection
力扣515.在每棵树行中找最大值
华为云计算之物理节点CNA安装教程
东方财富上开户是安全的吗
R 语言 Hitters 数据分析
推荐几款0代码、免费、现学现用的可视化工具
Hungry for a long time, the brain will enter the "power saving mode"! Your senses are weakened and you can't see clearly
QT -- 通讯协议