Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug: Error #705 when switching database source to mysql #706

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 30, 2023

  1. 修复data_source因为大小写问题导致在mysql中无法初始化数据库,修复Bug:Caused by: java.sql.SQLSy…

    …ntaxErrorException: Table 'stumanage.DATA_SOURCE' doesn't exist
    pangms committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    1d058da View commit details
    Browse the repository at this point in the history
  2. 修复data_source因为大小写问题导致在mysql中无法初始化数据库,修复

    Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SCHEMA, DELETED, USER_ID)
    VALUES (1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, '学�' at line 1
    	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
    	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
    	at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763)
    	at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648)
    	at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
    	at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
    	at org.flywaydb.core.internal.jdbc.JdbcTemplate.executeStatement(JdbcTemplate.java:201)
    	at org.flywaydb.core.internal.sqlscript.ParsedSqlStatement.execute(ParsedSqlStatement.java:95)
    	at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.executeStatement(DefaultSqlScriptExecutor.java:210)
    	... 40 common frames omitted
    pangms committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    acf2f98 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. 修复在mysql执行过程中缺少一下字段:

    1. default not null修改为not null;
    2. 字段添加转义字符`
    3. 修复V2_1_6__TableVectorUpdate.sql中的愈发错误。
    pangms committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d79b98f View commit details
    Browse the repository at this point in the history
  2. 修复在mysql执行过程中缺少一下字段:

    1. 修改所有实体对象文件名称为小写;
    2. 修改所欧表名称、字段名称为小写
    3. 添加关键转移字符。
    pangms committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    5835025 View commit details
    Browse the repository at this point in the history