Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 08:41:57 +0200
From:      "mark rowlands" <mark.rowlands@mypost.se>
To:        "chip" <chip@wiegand.org>
Cc:        questions@freebsd.org
Subject:   RE: installed mysql/php/apache but there's no mysql.sock file
Message-ID:  <4789E43478F3994BB8D967C73FD9C68850B0@exchsrv1>

next in thread | raw e-mail | index | archive | help

 

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of 
> Shaun Friedle
> Sent: Saturday, April 17, 2004 8:18 PM
> To: chip
> Cc: questions@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....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4789E43478F3994BB8D967C73FD9C68850B0>