当前位置:网站首页>MySQL user management
MySQL user management
2022-07-23 11:55:00 【Summer invasion bug planning】
MySQL User management
List of articles
The two methods :1、 Visual software operation ;2、SQL command
SQL command
Create user
create user user name identified by ' password ';Change Password
// Change the current user password set password=password(' New password '); // Change the specified user password set password for user name =password(' New password ');User rename
rename user Old user name to A new user name ;User authorization
grant all privileges on *.* to Database name ;// Grant full permissions to the tables in the database ( In addition to authorizing other users ,root Users can )View permissions
show grants for Database name ;// View the permissions for the specified user show grants for root@localhost;// View administrative user permissions //root User permission setting source code : GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTIONRevoke authority
revoke all privileges on *.* from Database name ;// Revoke all authority
边栏推荐
- 数仓4.0笔记——数仓建模
- Shell takes the month within a certain time range
- NFT digital collection system development, development trend of Digital Collections
- 数仓4.0笔记——用户行为数据采集二
- 链队列
- 2. MySQL data management - DML (add, modify, delete data)
- Es operation command
- Data warehouse 4.0 notes - data warehouse environment construction - Yan configuration
- 九、实用类
- [hudi]hudi compilation and simple use of Hudi & spark and Hudi & Flink
猜你喜欢

Development of digital collection system: Baidu AI pays tribute to Air China

Cuda10.0 configuration pytorch1.7.0+monai0.9.0

3、DQL(数据查询语句)

MySQL transaction rollback mechanism and principle

Gerrit operation manual

数仓4.0笔记——用户行为数据采集一
![[hudi]hudi compilation and simple use of Hudi & spark and Hudi & Flink](/img/6f/e6f5ef79c232d9b27a8334cd8ddaa5.png)
[hudi]hudi compilation and simple use of Hudi & spark and Hudi & Flink

八、集合框架和泛型

Data warehouse 4.0 notes - user behavior data collection II

APP自动化测试工具-appium的安装及使用
随机推荐
DBA命令
Machine learning algorithm for large factory interview (5) recommendation system algorithm
Development of digital collection system / introduction of digital collection scheme
Scala之二流程控制
[pyautogui learning] screen coordinates and mouse scrolling
查看真机APP里面沙盒文件
Object类
notepad++背景颜色调整选项中文释义
Image fuzzy processing batch production fuzzy data set
数仓4.0笔记---用户行为数据生成
强迫症的硬盘分区
Service服务
NFT digital collection system development: the combination of music and NFT
MySQL invalid conn troubleshooting
Charles抓包的使用步骤
mysql根据中文字段首字母排序
修改mysql的root密码
數倉4.0筆記——用戶行為數據采集四
数仓4.0笔记——用户行为数据采集四
[flick]flick on yarn's flick conf simplest configuration