wordpress add image size crop function not working in version 3.8

wordpress by default do not resize/create/crop image for small images. It will show original image instead.
For eg. required is 335×355. You uploaded image size 25×25 then it will not create image of 335×355 size. It will show full image i.e original image instead when you call 335×355 size image

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