0
Pay attention to mysql/mariadb, sintax changed?
I have a vps with mariadb and one virtual machine with mysql, i use in php code and in terminal. Both does not support sintax like that: SELECT column_list FROM table_name WHERE condition; You must write whit this symbol: ` . Example: SELECT `id`,`email`,`password` from `accounts` WHERE id <= 5; If you don't, you will get an syntax error. All of this course on SoloLearn it is not wrong, it is really good, but pay attention to the syntax.
1 Odpowiedź
+ 1
and in sololearn its not mysql or mariadb (which is mysql), its sql which IS different, just similar