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 查
相關文章
相關標籤/搜索