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