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