解決方法,執行受權:grant all PRIVILEGES on xxxx.* to root@'%' identified by 'password' with grant option;xxxx爲建立的數據庫,password爲root的密碼。請按實際要求進行更改數據庫