Fix bug: Error #705 when switching database source to mysql#706
Open
Lionelpang wants to merge 4 commits intoCodePhiliaX:mainfrom
Open
Fix bug: Error #705 when switching database source to mysql#706Lionelpang wants to merge 4 commits intoCodePhiliaX:mainfrom
Lionelpang wants to merge 4 commits intoCodePhiliaX:mainfrom
Conversation
added 4 commits
October 30, 2023 19:58
…ntaxErrorException: Table 'stumanage.DATA_SOURCE' doesn't exist
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
1. default not null修改为not null; 2. 字段添加转义字符` 3. 修复V2_1_6__TableVectorUpdate.sql中的愈发错误。
1. 修改所有实体对象文件名称为小写; 2. 修改所欧表名称、字段名称为小写 3. 添加关键转移字符。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the problem of error reporting under mysql.