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