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