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