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