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