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