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