Usually this is an issue with your site definition and not the database settings themselves. Are you using a local testing server or connecting to your remote server for testing? If you are using a remote server then I can try to reproduce it on my end.
If it is your local server, then make sure your server is running and that you can connect to the database through phpmyadmin.