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