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