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