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