Does anyone know HOW I might preserve case in my table names please (Win 10 using phpMyAdmin,latest xampp distribution). Could this be because xampp is using MariaDB instead of mySQL?
Table names being rewritten to all lowercase.
Read on phpMyAdmin site that to use preserve case I should add:
'set-variable=lower_case_table_names=0'
this stopped mySQL starting with an error message:
[ERROR] c:\xampp\mysql\bin\mysqld.exe: unknown variable 'set-variable=lower_case_table_names=0'
Then after reading an answer here I learned I should use lower_case_table_names=0
so aded that to my.ini
and still got the same error.
I then spent 20 mins trying to work out where my set-variable=lower_case_table_names=0
was set. (Thought it must be cached or duplicated or something.)
In desperation I deleted the lower_case_table_names=0
and the error disappeared. I put it back and got the
[ERROR] c:\xampp\mysql\bin\mysqld.exe: unknown variable 'set-variable=lower_case_table_names=0'
error. IE they seem to be aliases with the error reporting translating. Somewhat irritating.