installed mysql/php/apache but there's no mysql.sock file
mark rowlands
mark.rowlands at mypost.se
Sat Apr 17 23:42:05 PDT 2004
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of
> Shaun Friedle
> Sent: Saturday, April 17, 2004 8:18 PM
> To: chip
> Cc: questions at freebsd.org
> Subject: Re: installed mysql/php/apache but there's no mysql.sock file
>
> On Sat, 2004-04-17 at 18:42, chip wrote:
> > I then created a file in /tmp called mysql.sock but mysql
> still gives
> > the same error -[error 2002] cannot connect to local mysql server
> > through /tmp/mysql.sock (2).
> > I read the section in the mysql manual about the socket but
> don't see
> > anything about creating this file.
> > How do I fix this?
>
/usr/local/etc/rc.d/mysql-server.sh start
should do the trick....
More information about the freebsd-questions
mailing list