Date: Sun, 15 May 2005 21:53:01 +0200 From: "albi@scii.nl" <albi@scii.nl> To: cheney@soc.umass.edu Cc: freebsd-questions@freebsd.org Subject: Re: can't connect to mysql Message-ID: <20050515215301.352fa111.albi@scii.nl> In-Reply-To: <20050515193710.GA20262@sociostat.org> References: <20050515193710.GA20262@sociostat.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 May 2005 15:37:11 -0400 Eric Cheney <cheney@soc.umass.edu> wrote: > Here's the error I get.... > > ****begin error message****** > > max# mysql -u root -p > Enter password: > ERROR 2002: Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) ---- cut ---- > So then I did this, as root .... > > max# /usr/local/etc/rc.d/mysql-server.sh start you have to specifically enable it in /etc/rc.conf : mysql_enable="YES" it's documented in /usr/local/etc/rc.d/mysql-server.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050515215301.352fa111.albi>