springboot+quartz报错:Table ‘XXXX.QRTZ_TRIGGERS‘ doesn‘t exist

Question: There is this table qrtz_triggers in the database, but this error is still reported

Reason: The wrong report is that there is no such table [ QRTZ_TRIGGERS ] under the database, but there are [ qrtz_triggers ] in the database. The difference is that one is uppercase and the other is lowercase. By default, mysql is case-sensitive, so in order to avoid this problem, you need to modify the case-sensitive attribute of mysql.

Solution:

  1. Log in with root and modify /etc/my.cnf;
  2. Under the [mysqld] node, add a line: lower_case_table_names=1
  3. Just restart MySQL

Guess you like

Origin blog.csdn.net/u012322399/article/details/126903653