Can't connect to local MySQL server

Jose Borquez bsdlists at sbcglobal.net
Wed Dec 14 00:32:01 PST 2005


Odhiambo Washington wrote:

>* 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.
>
>
>  
>
Thanks for the help, but I figured it out.
Jose



More information about the freebsd-questions mailing list