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