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