localhost and mac os x

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
pmfuser
Posts: 106
Joined: Tue Apr 01, 2014 7:00 am

localhost and mac os x

Post by pmfuser »

Hi,

I just tried to access my FAQ page, first time from Macbook Pro (OS X), and got an error:

The connection to the database server could not be established.

The error message of the database server:
2002: No such file or directory


First search took me here:
http://stackoverflow.com/questions/4219 ... connect-vi

and after replacing localhost with the IP address 127.0.0.1 in the database.php file, I was able to get the admin login page, but the FAQ page would return this:

The connection to the database server could not be established.

The error message of the database server:
1040: Too many connections


Now it seems to work.

My question, before I do anything else:
Was there any prior similar case that would have such Mac related cause, or I should consider this coincidence (there could simply be some intermittent trouble with the database, for example)?

Thanks
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: localhost and mac os x

Post by Thorsten »

Hi,

never had this before and I develop phpMyFAQ on Macs since 2008 ;-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
pmfuser
Posts: 106
Joined: Tue Apr 01, 2014 7:00 am

Re: localhost and mac os x

Post by pmfuser »

Thanks. I just put it back to "localhost" and things are as expected. So, as it stands now, it must be some kind of coincidence.
Post Reply