mysql - Liquibase 连接在本地失败 [拒绝访问用户'root'@'172.18.0.1']
问题描述
无法从 maven liquibase 插件连接数据库。抛出如下错误。但是,我可以在工作台上连接数据库。
Error setting up or running Liquibase:
[ERROR] liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created
to jdbc:mysql://localhost:3307/testdb?useSSL=false&createDatabaseIfNotExist=true with driver com.mysql.cj.jdbc.Driver. Access denied for user 'root'@'1
72.18.0.1' (using password: YES)
解决方案
推荐阅读
- ruby-on-rails - 带有 Dropzonejs 的 ActionView::MissingTemplate
- android - 具有自定义文本字体和颜色的微调器
- python - 如何使用bs4制作爬虫来抓取网站
- batch-file - 如何从循环内部设置全局变量
- xamarin.forms - Xamarin Forms 从 GridLength Star 或 Auto 获取绝对值
- firebase - 在 Firestore 中查询具有类型引用的文档
- ionic-framework - _co.gotoArchivePage 不是函数
- c# - UWP IoT 如何添加自定义字体
- c# - 在 Linux 上使用单声道的 C# 代码的 CIL 级调试器
- selenium - selenium 网格 Safari 替代方案(Docker 节点)?