1. 程式人生 > >MySQL建立使用者並授權資料庫筆記

MySQL建立使用者並授權資料庫筆記

 替換命令列中的資料庫名,user 和password即可。%是開啟遠端登入。

grant all privileges on shujukuming.* to 'user'@'%' identified by 'password';