Hello! I also have a problem with database connection on local server.
I installed wordpress and created a new database. Everything worked well. But when I imported a database from remoted host I received a message during wp configuration process:
We were able to connect to the database server (which means your username and password is okay) but not able to select the victo188_victoria database.
Are you sure it exists?
Does the user root have permission to use the victo188_victoria database?
On some systems the name of your database is prefixed with your username, so it would be like username_victo188_victoria. Could that be the problem?
DB exists. The user has the permission. With name everything is ok.
What can be the promlem? Thank you.