grant命令給用戶受權,使mysql實現遠程鏈接

一、進入mysql,建立一個新用戶root,密碼爲root:mysql 格式:grant 權限 on 數據庫名.表名 to 用戶@登陸主機 identified by 「用戶密碼」;  grant select,update,insert,delete on . to root@192.168.1.12 identified by 「root」;sql 原先數據表結構數據庫 mysql> use
相關文章
相關標籤/搜索