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