What is your db_name, db_user and db_password?
DB_NAME: D20-Steam (I checked the caption when I edited the config file manually)
DB_USER: root (default with MAMP)
DB_PASSWORD: root (default with MAMP)
Both leds are green, as ports numbers I used 8888 and 8889 which are the defaults.
Do you have any other applications running which might interfere?
The ‘database connection error’ means that WP cannot see the db at all, it can’t even check the user/pass are correct so it would seem then that something could be blocking it.
Not that I know of.
Do I have to quit MAMP once the DBs are started maybe?
MAMP needs to stay On. Quitting it will stop the db’s.
Do you have Skype or any IM applications running?
I don’t use Skype, nor other IM applications (sort of asocial here π ).
I really can’t find the cause for this error, at first I thought it was something into the configuration or a typo in the config file, but those things seem to be ok.
in MAMP, open phpmyadmin and create another database called ‘wordpress’
Edit wp-config.php and make sure the db_name is also wordpress
What happens then?
Oh, I copied again the WordPress folder into htdocs and renamed it wordpress to avoid caption issue too.
Very odd.
This is what mine looks like in MAMP:
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'root');
/** MySQL hostname */
define('DB_HOST', 'localhost');
and yours is identical to that?
Yes it is, I have the file in front of me now.
Try this?
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost:8888’);
or
/** MySQL hostname */
define(‘DB_HOST’, ‘127.0.0.1’);
With the first variant the connections times out, the second one instead makes even the root unreachable.