Hi mate!
Use txtbox next time you post that long xD!
the error is there. :
Couldn't connect with uname='ragnarok'
double check your sql details, and also try google how to set this to YES. via mysql server. (using password: NO)
lastly check the port.
anything you need check, ---> double check it.