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