调整大消息.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
3bedda2c7b
commit
5051ca214b
@ -63,7 +63,7 @@ UPDATE mysql.user set plugin="mysql_native_password";
|
|||||||
# 强制写入,操作完退出前先进行以下该操作
|
# 强制写入,操作完退出前先进行以下该操作
|
||||||
FLUSH privileges;
|
FLUSH privileges;
|
||||||
# 退出
|
# 退出
|
||||||
quit;
|
QUIT;
|
||||||
# 重启 MariaDB 服务使新的配置生效
|
# 重启 MariaDB 服务使新的配置生效
|
||||||
systemctl restart mariadb
|
systemctl restart mariadb
|
||||||
```
|
```
|
||||||
@ -98,7 +98,7 @@ CREATE DATABASE 'database name';
|
|||||||
SELECT user from mysql.user;
|
SELECT user from mysql.user;
|
||||||
|
|
||||||
# 删除用户
|
# 删除用户
|
||||||
drop user ‘username’@‘host’;
|
DROP user ‘username’@‘host’;
|
||||||
|
|
||||||
# 创建用户
|
# 创建用户
|
||||||
# username - 你将创建的用户名
|
# username - 你将创建的用户名
|
||||||
|
Loading…
x
Reference in New Issue
Block a user