当前位置:网站首页>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
边栏推荐
- Es operation command
- Chinese interpretation of notepad++ background color adjustment options
- APP审核期间遇到的问题总结
- Machine learning algorithm for large factory interview (5) recommendation system algorithm
- Websocket long connection
- Scala之二流程控制
- Digital collection development / digital collection system development solution
- Using dynamic programming to solve the longest growing subsequence problem
- 高德定位---权限弹框不出现的问题
- NFT digital collection development: Jingdong "Qida bear takes you to the capital" tourism package
猜你喜欢

高德定位---权限弹框不出现的问题
![[pyrodiomics] the extracted image omics characteristic value is abnormal (many 0 and 1)](/img/73/628e0188e1e2c13e0963746759f691.png)
[pyrodiomics] the extracted image omics characteristic value is abnormal (many 0 and 1)

NFT trading platform digital collection system | development and customization

MySQL password free login settings
![[uiautomation] key instructions (and three call methods) + common mouse actions +sendkeys+inspect learning](/img/9c/84c92c894b19820560e14502472c8b.png)
[uiautomation] key instructions (and three call methods) + common mouse actions +sendkeys+inspect learning

MySQL存储引擎

Image fuzzy processing batch production fuzzy data set
![[monitoring deployment practice] display the charts of Prometheus and loki+promtail based on granfana](/img/34/b7a05bff05e1d3a1daef4fb2b98a92.png)
[monitoring deployment practice] display the charts of Prometheus and loki+promtail based on granfana

2、MySQL数据管理--DML(添加、修改、删除数据)

1. Initial experience of MySQL
随机推荐
11、多线程
[uiautomation] key instructions (and three call methods) + common mouse actions +sendkeys+inspect learning
MySQL备份
数仓4.0笔记---用户行为数据生成
Data warehouse 4.0 notes - user behavior data collection II
Kubesphere ha install (II)
第一阶段复习
Data warehouse 4.0 notes - Data Warehouse Modeling
Data warehouse 4.0 notes - business data collection
八、集合框架和泛型
数仓4.0笔记——数仓建模
Unable to negotiate with port 51732: no matching host key type found. Their offer:
UE4解决WebBrowser无法播放H.264的问题
Activiti7 Quick Start experience sharing
3. DQL (data query statement)
MySQL事务
Scala之一变量和数据类型
[pyrodiomics] the extracted image omics characteristic value is abnormal (many 0 and 1)
九、实用类
Cuda10.0 configuration pytorch1.7.0+monai0.9.0