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