Showing database error on the website

Hello Sir,
I need your help.If you could then it would be great.
I have transferred website from local to live server but its showing database error connection.I checked many times,but dnt know what is the issue.

I have used this for replacing the urls.
Today whole day gone,but I could not solve the issue.
Any Luck????