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