Cannot select database
-
Trying to install WordPress on my local computer using WAMPServer. I cannot provide a link because the site is on my computer, not on my hosting company’s server.
I set up the local folder to contain WordPress files then created the virtual host in WAMPServer and set up the database using PHP MyAdmin. When setting up the database, I made sure to select “MariaDB rather than MySQL. After doing these steps, I went back to WAMP, selected Your virtualhosts –>easylivinghomeservices.test and started the WP install.
I get the following error:
Cannot select database The database server could be connected to (which means your username and password is okay) but the?database could not be selected.
I used the username “root” with no password as I have done in the past. The message indicates that doing this is not the issue.
I can log into the database through PHP MyAdmin, There isn’t anything there because the WP install won’t run. Last time I set up a local WP site, WordPress populated the database as part of the install process. Is the process different when using MariaDB? I have never used MariaDB before but couldn’t find any information on using it as my database when installing WordPress.
Again, I made sure to select MariaDB when I added the database in PHP MyAdmin.
I have set up local sites many times without a problem. I have always used MySQL for the database but am using MariaDB for this site as this is the database that is used by the hosting company. (I don’t want to run into issues because I used MySQL locally and will have to use MariaDB when the site goes live.)
Is the cause of my problem the fact I used PHP MyAdmin instead of something else?
- You must be logged in to reply to this topic.