MySQL添加新用戶、爲用戶建立數據庫、爲新用戶分配權限

登陸MySQLmysql mysql -u root -p 添加新用戶 容許本地 IP 訪問 localhost, 127.0.0.1sql create user 'test'@'localhost' identified by '123456'; 容許外網 IP 訪問數據庫 create user 'test'@'%' identified by '123456'; 刷新受權 flush pr
相關文章
相關標籤/搜索