mysql Unknown error 1146

Error: Could not acquire next trigger: Unknown error 1146

spring + quartz realize task scheduling, because the quartz default read table named capital, the new default database is case-sensitive. select * from QRTZ_LOCKS If the query table name is uppercase, lowercase and the actual construction of the table, mysql table does not find the report, will report Unknown error 1146, do not step on pit God knows what the hell is wrong. Only need to set the mysql is not case sensitive, you can restart mysql.

method:

Root entry, modify /etc/my.cnf 
at [mysqld] node, add the line: lower_case_table_names = 1

MySQL can restart;



Guess you like

Origin www.cnblogs.com/w-ting/p/10991333.html