I'm trying to install WordPress on my XAMPP server and I've been doing great so far, but after I have edited the info on the wp-config.php file I get an error message when I try to access http://localhost/wordpress/wp-admin/install.php.
The text I edited looks like this:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
/** Database Charset to use in creating database tables. */
/** The Database Collate type. Don't change this if in doubt. */
Now the error message I am getting looks like this:
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 localhost_‘wordpress’ database.
Are you sure it exists?
Does the user ‘root have permission to use the localhost_‘wordpress’ database?
On some systems the name of your database is prefixed with your username, so it would be like username_localhost_‘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.
Any help would be greatly appreciated :)