-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
shardingSphere-jdbc version 5.5.0,the tables without encryption rules will report an error,Table or view 'flyway_schema_history' does not exist. #33668
Comments
What is the exception? |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.apache.shardingsphere.infra.exception.kernel.metadata.TableNotFoundException: Table or view 'flyway_schema_history' does not exist. Process finished with exit code 1 |
flyway:
baseline-on-migrate: true
validate-on-migrate: false
schemas: db
datasource:
driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
url: jdbc:shardingsphere:classpath:shardingsphere-config-${APP_ENV:local}.yml
shardingsphere-config-${APP_ENV:local}.yml
dataSources:
db:
driverClassName: com.mysql.cj.jdbc.Driver
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
maxPoolSize: 10
jdbcUrl: jdbc:mysql://localhost:3306/db?useUnicode=true&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: 12345678
rules:
tables:
address:
columns:
name:
cipher:
name: name
encryptorName: common_encryptor
encryptors:
common_encryptor:
type: AES
props:
aes-key-value: xxx
digest-algorithm-name: "SHA-256"
tables:
defaultDataSource: db
props:
sql-show: true
The text was updated successfully, but these errors were encountered: