MySQL 資料庫連接配接權限
給使用者賦連接配接權限
-- 給所用使用者賦遠端連接配接權限
update user set host="%",password_expired='N' where host='localhost';
-- 給指定使用者***賦遠端連接配接權限
update user set host="%",password_expired='N' where user='***';
##取消使用者遠端連接配接權限
-- 取消除***使用者的其他使用者的遠端連接配接權限
update user set host="localhost" where user='***';