Can t select database error WordPress?
FIX 2 – ALLOW AUTOMATIC REPAIR WORDPRESS If WordPress is not able to correctly connect with your database, the chances may be that your database is corrupted. Under this condition you can configure WordPress to allow repairing the database. For that, you have to again edit the wp-config. php file.
How to select database in wamp?
In your WAMP Server home page PhpMyAdmin link appears. Click that link and the database connectivity form will open in the following format. After the page opens in your right side window, click database and choose to create database. Choose your database and create table or you have to restore your SQL database.
How to select database in MySQL in wamp?
You must click on WAMP icon and go to MySql and from list select “Use a port other than (your port)” and set your port To “3306”. Ok your default DB is Mysql and has green check.
How can I change MariaDB to MySQL in Wamp?
Launch phpMyAdmin and look at the login screen. If both are running you should see a Server Choise dropdown under the Username and Password fields. In there you will see 2 options like below. Just click on either MySQL or MariaDB to Enable or Disable either or both database servers.
What to do if you cant select database in WAMP?
Enter the phpMyAdmin app by clicking the MySQL Admin button for WAMPP control panel. Under server 127.0.0.1 go to the user accounts tab and select Edit Privileges for the root@localhost user. Click the database button. Pick the test_db item and click Go.
Why do I get can’t select database in WordPress?
Can’t select database… I installed wamp and all services are running. I installed WordPress and it installed successfully. I created a database named cocn_wp with user root and password blank. When I enter the data and click “submit” I get the can’t select error.
Why is my WP database not listed in the database?
Click the Database button near the top. Your WP DB should NOT be listed. If it is, assign all privileges again, then check for any specific table privileges. There shouldn’t be, but if so, edit again and assign all privileges. Thanks for your reply @bcworkz.
What happens if I delete Wp config.php?
If I delete wp-config.php that’s when I get the error “can’t select database”. OK, let’s start from the beginning. When you delete wp-config.php you should be sent to the WP installer, and it will ask you to enter your DB credentials.