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