当前位置:网站首页>MVN 中配置flyway mysq
MVN 中配置flyway mysq
2022-08-09 06:53:00 【wpj130】
本文章只介绍pom中的配置
最简单的方法编辑【pom.xml】:
<build>
<plugins>
<!--其他插件配置-->
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>6.4.3</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/表名</url>
<user>密码</user>
<password>账号</password>
<baselineOnMigrate>true</baselineOnMigrate>
</configuration>
</plugin>
</plugins>
</build>
我最终配置为:
<build>
<plugins>
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>6.4.3</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/sell</url>
<user>root</user>
<password>root</password>
<baselineOnMigrate>true</baselineOnMigrate>
</configuration>
</plugin>
</plugins>
</build>
边栏推荐
- 安装flask
- 为什么以太网无法接收大于1500字节的数据包?
- 报错:FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS重大开销和将disab补充道
- 如何 认识与学习BASH
- way of thinking problem-solving skills
- shardingsphere data sharding configuration item description and example
- P6阿里机试题之2020 斐波那契数
- Quectel EC20 4G module dial related
- pycharm环境包导入到另外一个环境
- VS2019常用快捷键
猜你喜欢
Use baidu EasyDL intelligent bin
95后,刚工作2-3年就年薪50W+ ,才发现打败我们的,从来不是年龄···
【Oracle 11g】Redhat 6.5 安装 Oracle11g
半导体新能源智能装备整机软件系统方案设计
Import the pycharm environment package into another environment
虚拟机网卡报错:Bringing up interface eth0: Error: No suitable device found: no device found for connection
The water problem of leetcode
ByteDance Written Exam 2020 (Douyin E-commerce)
图论,二叉树,dfs,bfs,dp,最短路专题
【修电脑】系统重装但IP不变后VScode Remote SSH连接失败解决
随机推荐
P7阿里面试题2020.07 之滑动窗算法(阿里云面试)
2022-08-08: Given an array arr, it represents the height of the missiles that will appear in order from morning to night.When the cannon shoots missiles, once the cannon is set to shoot at a certain h
shardingsphere data sharding configuration item description and example
力扣 636. 函数的独占时间
详解C语言中的wait()函数和waitpid()函数
makefile记录
【ROS2原理8】节点到参与者的重映射
物理层课后作业
Search 1688 product interface by image (item_search_img-search 1688 product by image (Politao interface) code docking tutorial
Fragments
移远EC20 4G模块拨号相关
顺序表删除所有值为e的元素
leetcode 之 70 爬楼梯问题 (斐波那契数)
stm32定时器之简单封装
failed (13: Permission denied) while connecting to upstream
像天才一样思考:如何培养自己的创造力?
String.toLowerCase(Locale.ROOT)
APP product source data interface (taobao, jingdong/spelling/suning/trill platform details a lot data analysis interface) code and docking tutorial
报错:flask: TypeError: ‘function‘ object is not iterable
高项 04 项目整体管理