标签:连接线 ppa 关闭 mariadb sign database oca 判断 表结构
mysql>set password
mysql>update mysql.user set password=PASSWORD(‘password‘) where clausse;
mysql>flush privileges;
#mysqladmin ...
mysql>drop user ‘‘@‘localhost‘;
同样也可以通过mysql_sequre_installation来实现用户加密和删除
[root@localhost ~]# mysql --verbos --help #查看所有帮助信息
MariaDB [(none)]> show variables;
MariaDB [(none)]> help set; #查看set的帮助信息
Name: ‘SET‘ Description: Syntax: SET variable_assignment [, variable_assignment] ... variable_assignment: user_var_name = expr | [GLOBAL | SESSION] system_var_name = expr | [@@global. | @@session. | @@]system_var_name = expr
MariaDB [(none)]> set global system_var_name = value;
MariaDB [(none)]> set @@global.system_var_name=value;
MariaDB [(none)]> set [session] system_var_name=value;
MariaDB [(none)]> set @@[session.]system_var_name=value;
MariaDB [(none)]> set global status;
MariaDB [(none)]> set [session] global status;
标签:连接线 ppa 关闭 mariadb sign database oca 判断 表结构
原文地址:http://www.cnblogs.com/wanghui1991/p/6261833.html