We help IT Professionals succeed at work.
Get Started

Drupal installation on local Mac

rhandalthor
rhandalthor asked
on
1,129 Views
Last Modified: 2012-05-08
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.

Open in new window

Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE