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