当前位置:Gxlcms > 数据库问题 > mysql

mysql

时间:2021-07-01 10:21:17 帮助过:2人阅读

一、基本操作

1)查看当前mysql状态

   mysql> show status;


2)查看mysql的参数

   show variables;


   修改mysql的参数

   show variables like ‘max_connect%‘;

   set global max_connections = 1000;


3)查看当前mysql服务器的队列

   mysql> show processlist;


4)创建一个普通用户并授权

   grant all on db1.* to ‘user3‘@‘%‘ identified by ‘231222‘;


本文出自 “尽力而为” 博客,请务必保留此出处http://yanjiu.blog.51cto.com/673670/1922783

mysql

标签:mysql 操作

人气教程排行