MySQL SELECT query stopped working after moving to another hosting provider

Practice




After moving to another hosting, the mysql select query stopped working

SELECT c.*
FROM module C
where (c.gender=IF (c.gender=0,c.gender,2))

you have different case for the aliases FROM module C and c
use one

and remember that table names, like their aliases, are files, and file names can be case-sensitive depending on the operating system where mysql is installed))
thanks, will keep that in mind

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Databases - MySql (Maria DB)"

Terms: Databases - MySql (Maria DB)