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