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