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