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