MySQL table identifiers are usually case sensitive on non-Windows systems. If your code has mixed case table names, but the database has all lower case table names, then my guess is that you used to use a MySQL server where lower case table names were turned on and you’re migrating to a new one that doesn’t have the same option set?
If you set lower_case_table_names=1
in your MySQL config (my.ini) it should resolve the issue. For reference see;
https://dev.mysql.com/doc/refman/5.7/en/identifier-case-sensitivity.html
(Or if you’re using something like AWS RDS then you’d need to set that in an Option Group since you don’t have direct access to the config file itself).
Hope that helps