当前位置:网站首页>linux下修改mysql用户名root
linux下修改mysql用户名root
2022-06-28 07:11:00 【多汁多味】
1.登录mysql
mysql -u root -p
2.use mysql;
3.执行更新用户名语句
update user set user='ChenXin'where user='root';
4.重启mysql
service mysqld restart
5.查看mysql状态
systemctl status mysqld
边栏推荐
- It will cost 700 yuan to realize this issue. Does anyone do it?
- Recommend 10 popular jupyter notebook plug-ins to make you fly efficiently
- 【Rust日报】 2020-04-23 Rust 1.43.0 发布
- [online tutorial] official iptables tutorial -- learning notes 1
- ABAP 技能树
- 【Rust日报】2020-05-24 Rash, Rocket, Mun, Casbin
- XML序列化向后兼容
- BACnet/IP网关如何采集楼宇集中控制系统数据
- 声网 VQA:将实时互动中未知的视频画质用户主观体验变可知
- 实现这个 issue 得700块钱人民币,有人做嘛?
猜你喜欢
Top 25 most popular articles on vivo Internet technology in 2021
Design and practice of vivo sensitive word matching system
mysql57 zip文件安装
Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
Construction and exploration of vivo database and storage platform
The practice of traffic and data isolation in vivo Reviews
Last 29 days
Evolution of vivo push platform architecture
Pfizer's new Guankou medicine has entered the Chinese market, and the listing of relevant products of domestic pharmaceutical enterprises is just around the corner
[C#][转载]furion框架地址和教程地址
随机推荐
Techo Day 腾讯技术开放日,6月28日线上等你!
同花顺网上开户安全吗
DOM parsing of XML file case code sentence by sentence analysis
推荐几款0代码、免费、现学现用的可视化工具
CRC32概述以及实现和使用
[c #] [reprint]furion frame address and tutorial address
Reading notes - MySQL technology l act: InnoDB storage engine (version 2)
Leetcode+ 51 - 55 retrospective and dynamic planning topics
How bacnet/ip gateway collects data of building centralized control system
pytorch RNN 学习笔记
文件头信息对照表
The practice of traffic and data isolation in vivo Reviews
QT -- 通讯协议
MMR重排(相似度通过编辑距离和重复度计算)
Self discipline challenge 30 days
自律挑战30天
Puge -- three basic sorting, bubbling, selection and quickness
OPC 协议认识
【C语言】详解 C 语言获取数组长度
Vivo browser rapid development platform practice - Overview