Kevin Chan wrote: > Dear Michael and all, > > Hi Michael, do you mind to tell me where is the location of the my.cnf file > in my michane (Sun Solaris2.8) beacuse I can't find it ? > > And what I should change on that file to solve the problem? ... thanks ! > > Thanks and regards, > Kevin Chan > > <Michael Brunson Wrote> > Sent: Thursday, December 27, 2001 12:35 PM > Subject: Re: Why I can't run Mysql program ? Please Help ! > > On Thu, 27 Dec 2001 12:00:08 +0800, "Kevin Chan" <[EMAIL PROTECTED]> > wrote: > [...] > | # ./bin/mysql > | ERROR 2002: Can't connect to local MySQL server through socket > | 'path-for-socket-file' (2) > [...] > > You may want to edit your my.cnf file to have the path to the socket file. > > Thanks, > Michael > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Kevin, If you had read the instruction from INSTALL-SOURCE you would have found the following shell> useradd -g mysql mysql shell> gunzip < mysql-VERSION.tar.gz | tar -xvf - shell> cd mysql-VERSION shell> ./configure --prefix=/usr/local/mysql shell> make shell> make install shell> scripts/mysql_install_db shell> chown -R root /usr/local/mysql shell> chown -R mysql /usr/local/mysql/var shell> chgrp -R mysql /usr/local/mysql shell> cp support-files/my-medium.cnf /etc/my.cnf <=== Here is the step you left out shell> /usr/local/mysql/bin/safe_mysqld --user=mysql & -- ************************************************************ *** Phillip B. Bruce *** *** http://pbbruce.home.mindspring.com *** *** [EMAIL PROTECTED] *** *** *** *** "Have you ever noticed? Anybody going slower than *** *** you is an idiot, and anyone going faster than you *** *** is a maniac." - George Carlin *** ************************************************************ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php