Image Upload Failing from WP_Editor

I actually had to give an additional capability to the role I was using. I had to give access to the capability edit_others_php and the file was successfully uploaded.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)