as long as the DBserver and World are on the same computer localhost is fine.
bear in mind the <pw> is case sensitive, so how ever you created the login for MYSQL is how that needs to be also.
just for giggles, bring up a command prompt and run
then enter the same p/w you have in the config to see if you can login