MISBoot低代码开发平台

多数据库支持

一、MySQL数据库

第一步,以office项目模块为案例如何切换到mysql;

第二步,在repository项目中找到个人所在文件,在office-dev-xxxx-mysql.yml中修改;

MySQL配置
    driver-class-name:com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://${server.database-host}:3329/emis_system?characterEncoding=UTF-8&useSSL=true&serverTimezone=Asia/Shanghai,
    username: 123456
    password: 123456
    helperDialect: mysql
        

二、SqlServer数据库

第一步,以office项目模块为案例如何切换到sqlserver;;

第二步,在repository项目中找到个人所在文件,在office-dev-xxxx-mssql.yml中修改;

SqlServer配置
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://${server.database-host}:1433;DatabaseName=emis_system
    username: 123456
    password: 123456
    helperDialect: sqlserver
        

三、Oracle数据库

第一步,以office项目模块为案例如何切换到oracle;

第二步,在repository项目中找到个人所在文件,在office-dev-xxxx-oracle.yml中修改;

Oracle配置
    driver-class-name: oracle.jdbc.OracleDriver
    url: jdbc:oracle:thin:@127.0.0.1:1521:zuoyour
    username: 123456
    password: 123456
    helperDialect: oracle
        
文档更新时间: 2019-11-20 12:41 作者:佐佑时代