Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: Table ‘information_schema.KEYWORDS’ doesn’t exist,请问下这是因为tidb缺少这张表吗?
To improve efficiency, please provide the following information. A clear problem description can lead to a quicker resolution:
[Overview] Introducing the Flowable framework, it seems to use Liquibase internally, and the following error is prompted during startup:
java.sql.SQLSyntaxErrorException: Table 'information_schema.KEYWORDS' doesn't exist
[Application Framework and Business Logic Adaptation]
Spring Boot framework, introducing the Flowable process engine
[Business Impact] Application startup failure
[TiDB Version] 7.5.0
Upgrading to 7.6.0 resolved it.
Changing the version from 7.5 to 8.0.11-TiDB-v7.5.1 directly by modifying the version is also fine.
选择驱动或 ORM 框架连接 TiDB。
There is a similar case in the community, you can try it out. I copied someone else’s:
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.32</version>
</dependency>
Replace the driver with
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.47</version>
</dependency>
The program returned to normal. I also did not find the KEYWORDS table in the MySQL 5.7 database. This should be an issue with the MySQL 8 driver. Although the 8.0 driver can adapt to MySQL 5.7, it seems it cannot adapt to TiDB.
jdbc的版本问题把,还有排除下大小写问题
Thank you, OP, I learned a lot.