当前位置:网站首页>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
边栏推荐
- "Jay bear" plummeted by 96.6%. Why is NFT with star goods cold?
- Makefile
- MMR重排(相似度通过编辑距离和重复度计算)
- Rust FFI programming - libc crate
- 7-1 懂的都懂
- 什么是一致性哈希?可以应用在哪些场景?
- Mysql8.0和Mysql5.0访问jdbc连接
- redis的入门学习到起飞,就这一篇搞定
- 全方位透析真实企业软件测试流程
- A small code editor can also run programs -- a summary of sublime Text3 running programs in various languages
猜你喜欢

Principle and practice of bytecode reference detection

Reinforcement learning - grid world

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

C language tutorial

声网 VQA:将实时互动中未知的视频画质用户主观体验变可知

My MVVM open source project "travel epidemic prevention app" has been released

LeetCode+ 51 - 55 回溯、动态规划专题

2021 VDC: technological architecture evolution of vivo Internet service for 100 million users | PPT download attached

MySQL installation steps - how to create a virtual machine under Linux (1)

The code is correct, and the rendering page does not display the reason
随机推荐
网传互联网公司加班表,排名第一的没悬念
Pytorch RNN learning notes
Is it safe to open a stock trading account on your mobile phone?
Puge -- three basic sorting, bubbling, selection and quickness
小小一款代码编辑器竟然也可以有程序运行之功能——Sublime Text3运行各种语言程序的总结
Application and Optimization Practice of redis in vivo push platform
实时数据库 - 笔记
Practice of traffic recording and playback in vivo
LLVM 与 Clang
JS regular expression system explanation (comprehensive summary)
Rust FFI programming - libc crate
The practice of traffic and data isolation in vivo Reviews
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
Top 25 most popular articles on vivo Internet technology in 2021
【Rust翻译】从头实现Rust异步执行器
面经---测试工程师web端自动化---大厂面试题
R 和 rgl 绘制 3D 结
调接口事件API常用事件方法
VM332 WAService. js:2 Error: _ vm. Changetabs is not a function
okcc呼叫中心没有电脑的坐席能不能开展工作?