Can't connect to local MySQL server
Odhiambo Washington
wash at wananchi.com
Wed Dec 14 00:15:05 PST 2005
* 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 at 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.
More information about the freebsd-questions
mailing list