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