Access denied for 'password'. Authentication that can continue: publickey,gssapi-keyex,gssapi-with-mic,password (13)
1.進(jìn)入阿里云服務(wù)器
2.進(jìn)入數(shù)據(jù)庫(kù)
mysql -u root -p
3.設(shè)置mysql數(shù)據(jù)庫(kù)權(quán)限(允許其他服務(wù)器連接數(shù)據(jù)庫(kù))
grant all privileges on . to '用戶名'@'%' identified by '數(shù)據(jù)庫(kù)登錄密碼' with grant option;
4.進(jìn)入數(shù)據(jù)庫(kù)mysql查看user表
select host,user from user
image.png
然后在客戶端按照下面步驟配置登錄
image.png
image.png
image.png