Date: Wed, 14 Dec 2005 11:14:53 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-questions@freebsd.org Subject: Re: Can't connect to local MySQL server Message-ID: <20051214081453.GF35115@ns2.wananchi.com> In-Reply-To: <439FC7D1.9070907@sbcglobal.net> References: <439FC7D1.9070907@sbcglobal.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* On 13/12/05 23:20 -0800, Jose Borquez wrote: > I am attempting to create a mysql database so that I can install Group > Office using > mysqladmin create groupoffice and I keep getting the following errors: > > mysqladmin: connect to server at 'localhost' failed > error: 'Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2)' > Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! > > I looked in /tmp and mysql.sock is not there. > > Can someone please tell me what is wrong and what I need to do to > correct this? echo "mysql_enable="YES"" >> /etc/rc.conf sh /usr/local/etc/rc.d/mysql-server.sh start ls -al /tmp/mysql.sock # If it's still missing, let me know! -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Always borrow money from a pessimist; he doesn't expect to be paid back.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051214081453.GF35115>