MYSQL经常使用语句

受权用户登陆 grant all privileges on *.* to '用户名'@'ip地址' identified by '登陆密码' with grant option; 查看当前链接数 SELECT SUBSTRING_INDEX(host,':',1) as ip,COUNT(*) FROM information_schema.`PROCESSLIST` GROUP BY ip 查
相关文章
相关标签/搜索