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