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