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