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