Migrating from Windows to Linux

Permalink
I'm moving some C5 sites from a Windows server to a shared Linux environment.
When the site loads I get:

An exception occurred while executing 'select pkgID, pkgName, pkgIsInstalled, pkgDescription, pkgVersion, pkgHandle, pkgDateInstalled from Packages where pkgIsInstalled = ? order by pkgID asc' with params [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hoplite.Packages' doesn't exist

This is because the table is named hoplite.packages. Renaming the table to Packages solves the problem and moves on to the next missing (lower case named) table.

No, the hosting provider will not change lower_case_table_names.

Are there any solutions besides manually renaming all the tables?

 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
There are 5.6 addons that rename tables for linux. At least one has a utility that will run outside a c5 site, so could work for any sql dump inc 5.7.
EricPratt replied on at Permalink Reply
Brilliant