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