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