我在mysql服務(wù)器中往user表插入host password user 插入成功 然后我在指定的host登陸 發(fā)現(xiàn)登陸失敗
ringa_lee
直接insert into user? 授權(quán)不止插入這個表數(shù)據(jù),還有其他好幾個授權(quán)表需要插入的,用grant吧
用戶相關(guān)表有好多個,直接insert會缺失關(guān)聯(lián)。還是用create user吧