java.sql.SQLException: null, message from server: 「Host ‘xxx’ is not allowed to connect

因爲公司需要把項目和數據庫分開進行,所以有2臺服務器,直接修改連接池ip後,出現了ava.sql.SQLException: null, message from server: 「Host ‘xxx’ is not allowed to connect這樣的錯誤,它的意思就是安裝了數據庫的服務器不允許部署項目的服務器進行遠程連接。也就是權限問題,修改權限就可以了,修改方法是。 找到user表,這
相關文章
相關標籤/搜索