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