Simon Billis wrote: > I suffered from this also. > > To resolve I did the following: > > I put in a symlink in /tmp for mysql.sock pointing to /var/lib/mysql/mysql.sock then >it all worked fine. > > I'm sure that this is not the correct way of doing it so if anyone else has a >solution to the problem I would love to know, but it was a quick and dirty resolution. > > Cheers > > Simon > > On Monday, March 11, 2002 11:30 pm, David Keyes <[EMAIL PROTECTED]> wrote: > cut/ > >Did that already - now I get : > > > >Warning: MySQL Connection Failed: Can't connect to local MySQL server through > >socket '/tmp/mysql.sock' (111) > > > >David > > > > _______________________________________________ > cobalt-developers mailing list > [EMAIL PROTECTED] > http://list.cobalt.com/mailman/listinfo/cobalt-developers
Thanks Simon, it works - I added this line to my connection script in an atempt to make it more portable. $sockset=shell_exec("ln -s -f /var/lib/mysql/mysql.sock /tmp/mysql.sock"); David _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers