I know this is an old thread, but I encountered similar problems and wanted to
share my solutions.
I use Ubuntu Linux, and I had the database creation problem, it turned out that
it was a simple hostname issue.
Check your /etc/hosts file and make sure that the hostname you used when
installing your database is also accessible through the hostname you used for
your apache install.
For example:
If your computer's hostname is "gambit", add that line to /etc/hosts like so....
127.0.0.1 localhost gambit
127.0.1.1 gambit
Everything worked after that simple change, now to tackle email :S
Regards, Kev :)