I’m facing this type of error. how i escape from it?
(Can’t select database
We were able to connect to the database server (which means your username and password is okay) but not able to select the MySQL database.
Are you sure it exists?
Does the user sumair have permission to use the MySQL database?
On some systems the name of your database is prefixed with your username, so it would be like username_MySQL. Could that be the problem?)