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 ('becd33a12f4f0ecdbc87018eb6b05b1b', 0, '1547604140')' at line 2 SQL=INSERT INTO (, , ) VALUES ('becd33a12f4f0ecdbc87018eb6b05b1b', 0, '1547604140')