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