当前位置:网站首页>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笔记---用户行为数据生成
- Entrepôt de données 4.0 Notes - acquisition de données sur le comportement de l'utilisateur II
- Using cluster analysis to build a credit card high-risk customer identification model
- 11. Multithreading
- The user logs in continuously (interruption is allowed) to query SQL
- Machine learning algorithm for large factory interview (5) recommendation system algorithm
- 10、I/O 输入输出流
- Data warehouse 4.0 notes - business data collection - sqoop
- 修改mysql的root密码
- Charles抓包的使用步骤
猜你喜欢

Digital collection development / meta universe digital collection development

数仓4.0笔记——业务数据采集——Sqoop
![[system problems] Net Framework 3.5 installation error](/img/a1/f5410e954b607d5c0549051bd68aa1.png)
[system problems] Net Framework 3.5 installation error

Pywinauto+ an application (learn to lesson 9) -- blocked

Machine learning algorithm for large factory interview (5) recommendation system algorithm

Entrepôt de données 4.0 Notes - acquisition de données sur le comportement de l'utilisateur II

Data warehouse 4.0 notes - data warehouse environment construction - Yan configuration

MySQL transaction rollback mechanism and principle

1. Initial experience of MySQL

3. DQL (data query statement)
随机推荐
Development of digital collection system: Baidu AI pays tribute to Air China
Develop necessary idea use
数仓4.0笔记——数仓环境搭建—— Yarn配置
第一阶段复习
Stage 1 Review
MySQL modify function permission is not effective
Development of digital collection system: what are the main features of NFT?
第一个FLINK程序之WordCount
Data warehouse 4.0 notes - user behavior data collection I
IP地址是什么
[pyrodiomics] the extracted image omics characteristic value is abnormal (many 0 and 1)
1、MySQL初体验
MySQL password free login settings
One of scala variables and data types
MySQL sorts by Chinese field initials
Project instances used by activiti workflow
Customized development of ant chain NFT digital collection DAPP mall system
静态链表
NFT digital collection system development: Shenzhen Evening News "good times travel" digital collection online seconds chime
Ten year structure five year life-01 at the beginning of graduation