Hello,
I am trying to install wordpress on my ubuntu installation with mysql 5.5 and php5.3, but I am getting the following error during setup: "We were able to connect to the database server (which means your username and password is okay) but not able to select the [databasename] database."
I put in the following info:
database: DATABASE
user: USER
pass: PASS
host: 127.0.0.1 ( I tried using localhost initially, that didn't have any different result. I switched the host to 127.0.0.1 in mysql and still getting issues. I also tried a wildcard % with no luck)
prefix: wp_
I have checked that I can login from the command line using
> mysql -uUSER -h127.0.0.1 -p
Enter pass: PASSWORD
>> use database DATABASE;
I also checked for mysqli in the phpinfo() output, and it shows as enabled.
As a last resort, I tried to create the wp-config file by copying over the wp-config-sample and filling in those values in their respective locations. When I did that I got a bold "Error establishing a database connection" error.
Any help would be greatly appreciated.
Thanks!