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