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