Writing “wordpress” as the database in the config file won’t get you anywhere.
Although the quick installation will set up your database tables and fields, it expects you to have already created the database in MySQL first!
Here is what it looks like in Mac OSX:
Startup MySQL first:
Then, get into the terminal and make the empty database:
Gary-Garchars-Computer:~ GG5$ mysql -u root -p
Enter password:
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| test |
+--------------------+
2 rows in set (0.00 sec)
mysql> create database wordpress;
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| test |
| wordpress |
+--------------------+
3 rows in set (0.01 sec)

