[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [phpGroupWare-users] how do I tell to use the right s

From: Chris Weiss
Subject: Re: [phpGroupWare-users] how do I tell to use the right socket location?
Date: Sat, 21 Jul 2007 12:32:32 -0500

if you compiled them, the locations are compile options, maybe int eh
my.cnf and php.ini as well. and should both have
the settings well documented.

I've never had packages mess up the socket locations so I've never
bothered to look beyond the compile options, and even that was many
years ago.

On 7/21/07, Rich Cook <address@hidden> wrote:

This is really a PHP question, but I hope it's appropriate for this list.
I found a problem in my  If I db_host to "localhost", I get the 
following error when I point my browser at phpgroupware/setup/index.php:

Your Database is not working!
Make sure that your database is created and the account permissions are set.

And a separate test reveals I'm getting the following:
Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)

However, if I use my network host name instead of localhost, then phpgroupware 
does not complain and I can continue.  But I really want to use a local socket 
for performance and security reasons.  How do I discover the correct socket 
location in mySQL and enable the correct socket location in PHP?
Thanks for any helpSent from the phpGroupWare forums @

phpGroupWare-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]