首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >mysql8.0jar包及驱动

mysql8.0jar包及驱动

作者头像
全栈程序员站长
发布2022-08-28 12:57:27
发布2022-08-28 12:57:27
3K0
举报

大家好,又见面了,我是你们的朋友全栈君。

代码语言:javascript
复制
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.chenling</groupId>
    <artifactId>chenling-mybatis</artifactId>
    <version>1.0-SNAPSHOT</version>

    <dependencies>
        <!--spring core jar包-->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>5.1.9.RELEASE</version>
        </dependency>

        <!--spring jdbc jar包提供DriverManagerDataSource-->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>5.1.9.RELEASE</version>
        </dependency>

        <!--mybatis jar包-->
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis</artifactId>
            <version>3.5.2</version>
        </dependency>

        <!--mybatis-spring整合jar包-->
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis-spring</artifactId>
            <version>1.3.3</version>
        </dependency>

        <!--mysql jar包-->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>8.0.17</version>
        </dependency>

        <!--log4j-->
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
    </dependencies>


</project>
代码语言:javascript
复制
datasource:
  url: jdbc:mysql://xxx.xxx:3306/guns?useUnicode=true&characterEncoding=utf-8&userSSL=false&serverTimezone=GMT%2B8
  username: root
  password: xxx
  db-name: xxx
  filters: log4j,wall,mergeStat
  driver-class-name: com.mysql.cj.jdbc.Driver

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/146203.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年5月1,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档