I have put a Drupal package on my Mac (OS X 10.6.2) localhost running Apache, PHP5, MySQL5. I created a database and a user for it using the mysql command line tool. When I try to install Drupal I get this error message (see attached code). MySQL is running as I can access it and I have Wordpress running already. The user name and password are all correct as far as I have been able to verify. So what is the matter? Any solid debugging tips?
Failed to connect to your MySQL database server. MySQL reports the following message: No such file or directory.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct database hostname?
* Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.