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