允許用戶 root 在 任何IP 上都可以遠程連接 所有 mysql數據庫 並具有操作數據庫的 所有權限, 密碼為: myPassword
mysql -u root -p grant all PRIVILEGES on *.* to root@'%' identified by 'myPassword'; flush privileges;
允許用戶 root 在 任何IP 上都可以遠程連接 所有 mysql數據庫 並具有操作數據庫的 所有權限, 密碼為: myPassword
mysql -u root -p grant all PRIVILEGES on *.* to root@'%' identified by 'myPassword'; flush privileges;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。