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