You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(, , ) VALUES ('1203cfb11ac0a3af21cf8a3ffcdb90bd', 0, '1560803669')' at line 2 SQL=INSERT INTO (, , ) VALUES ('1203cfb11ac0a3af21cf8a3ffcdb90bd', 0, '1560803669')