Thanks Lyle,
I’ll address the enquiries in the order they appear.
Q. Did you enter the database name that you created?
A. I created the database in the terminal and it exists. The database name is in the config file in DB_NAME ‘name of database’ is the same name of the database I created in the mysql terminal.
Q. Did you use a plain text editor to enter the values in wp-config.php.
A. I’m using Text-Mate so it should be OK out of the box Although text-mate is also a new app to me as I’ve been using notepad++ on a windows machine so it’s possible I may need to configure it in some way as far as line endings or little endian big endian or some such.
Statement: Not sure why one would use the terminal for the db when using MAMP as it is so easy to use the supplied phpMyAdmin from the Tools menu on the MAMP Start Page ??
Response: I actually first learned to create databases via the terminal so it’s a natural inclination for me to do so. Also, why use that big clunky program when you can just type CREATE DATABASE db_name; and be done with it?
I’ll try again from scratch looking at your instructions Lyle. Thanks for the hand.
UPDATE: One thing I discovered after my last post last night was I couldn’t figure out what my password and username was, because I didn’t remember creating either one during the setup process. The last thing I tried was leaving the username and password fields blank (in the wp-config file) and then I got a different error message when going to the URL localhost/example/wp-activate.php. The message said was able to access the server so the username and password was ok, but couldn’t connect to that particular DB_NAME. I know it exists for the simple reason when I enter SHOW DATABASES; in the terminal – there it is. To double check I went into phpMyAdmin panel and it is there also. So there is no question it exists so I can’t figure why WP and mysql can’t find it.