Dear Phillip and all,

I am installing from Binary Distribution and just follow the INSTALL-BINARY
file to install.  I just did all the steps below:

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root  /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/data
shell> chgrp -R mysql /usr/local/mysql
shell> chown -R root /usr/local/mysql/bin
shell> bin/safe_mysqld --user=mysql &

Thanks and regards,
Kevin Chan


<Phillip B. Bruce Wrote>
Sent: Thursday, December 27, 2001 2:35 PM
Subject: Re: Why I can't run Mysql program ? Please Help !


> 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

Reply via email to