Access denied for user '密碼'@'192.18.0.0' (using password: YES)


Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project industry-invoice: 
Access denied for user '密碼'@'192.18.0.0' (using password: YES)

這是因為當前用戶沒有訪問mysql的權限導致的在mysql中執行:grant all privileges on *.* to root@'%' identified by 'cloudera;

就可以訪問了。

如果是在公司給的數據庫中,就勸你換成本地的數據庫.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM