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