I'm trying to set up a local server on my pc using Xampp so that I can edit my Wordpress site theme locally. I have gone through many steps and am at the end (i think). The instructions told me that I should be able to put in //localhost/ and be taken to a Xampp control panel page but I'm getting a Wordpress page. It's asking me my
Database name (prefilled out with "wordpress")
Username (I am assuming "root" from looking in MySql admin)
Database host (prefilled out with "localhost")
Table Prefix (prefilled out with "wp_)
But when I click Submit this is what I get
"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 wordpress database.
Are you sure it exists?
Does the user root have permission to use the wordpress database?
On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
If you don't know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums."