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