這是由于“IP為****鲤氢,名字為root”的用戶 沒有權(quán)限訪問數(shù)據(jù)庫
grant all privileges on *.* to root@'%' identified by '******'
//進(jìn)行授權(quán)抱婉,***表示數(shù)據(jù)庫連接密碼
grant all privileges on *.* to root@'%' identified by '******'
//進(jìn)行授權(quán)抱婉,***表示數(shù)據(jù)庫連接密碼