Mysql建立用戶並受權以及開啓遠程訪問

1、建立用戶並受權 一、登陸mysql   mysql -u root -p 二、建立數據庫   create database test;//以建立test爲例 三、建立用戶 建立user01,只能本地訪問   create user user01@'localhost' identified by 'password'; 建立user02,能夠遠程訪問   create user user02
相關文章
相關標籤/搜索