If you compiled the MySQL source to /usr/local/mysql, type
/usr/local/mysql/support-files/mysql-server start

Then type
mysqladmin -u root password yourpassword

Then type
mysql -u root -p

Hope this helps


>From: "abhishek" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Re: [LIH] can't connect to MySQL Server
>Date: Mon, 5 Feb 2001 16:38:06 +0530
>
>it seems that mysql server is not up. Verify whether file
>'/var/lib/mysql/mysql.sock' exists or not. If not create it and then
>try to start mysql daemon by "/etc/rc.d/init.d/mysql start"
>
>
>
> >-------- ORIGINAL MESSAGE BELOW --------
> >This is not an installation problemo it seems.
> >
> >>From the error it seems that the mysql client is not able to connect to
> >the mysql server using the file socket. Another way is to use TCPIP to
> >connect using the host and port options. But what I think is that the
> >mysql server on the machine is not up.
> >
> >Check if mysql server daemon is starting up properly. Look in
> >/var/log/messages
> >
> >VaibhaV
> >
> >On Mon, 5 Feb 2001, Prashanth Venkatesh wrote:
> >
> >> where have u installed MySQL?
> >>
> >> try giving this:
> >>
> >> mysqladmin -u root password <pwd>
> >>
> >> then try giving
> >> /etc/rc.d/init.d/mysql start
> >>
> >> type in the prompt
> >>
> >> mysql -p
> >>
> >> bye,
> >> Prashanth
> >> --- Rakesh Ambati <[EMAIL PROTECTED]> wrote:
> >> > hi,
> >> >  whenever I try to connect to MySQl Server on my
> >> > local
> >> > machine I get following error.
> >> >
> >> >  Can't connect to MySQl Server throught socket
> >> >  '/var/lib/mysql/mysql.sock'
> >> >
> >> > please help me solve this problem.
> >> >
> >> > TIA
> >> >
> >> > -Rakesh
> >> >
> >> > __________________________________________________
> >> > Get personalized email addresses from Yahoo! Mail -
> >> > only $35
> >> > a year!  http://personal.mail.yahoo.com/
> >> >
> >> > ----------------------------------------------
> >> > Find out more about this and other Linux India
> >> > mailing lists at http://lists.linux-india.org/
> >>
> >>
> >> __________________________________________________
> >> Get personalized email addresses from Yahoo! Mail - only $35
> >> a year!  http://personal.mail.yahoo.com/
> >>
> >> ----------------------------------------------
> >> An alpha version of a web based tool to manage
> >> your subscription with this mailing list is at
> >> http://lists.linux-india.org/cgi-bin/mj_wwwusr
> >>
> >
> >--
> >
> >----------------------------------------------------------
> >VaibhaV Sharma     | [EMAIL PROTECTED]
> >Exocore Consulting | http://www.exocore.com
> >Bangalore, India   | +91 (80) 3440397 Fax +91 (80) 3341137
> >----------------------------------------------------------
> >Hiroshima '45..      Chernobyl '86..      Windows '95!!
> >----------------------------------------------------------
> >
> >
> >----------------------------------------------
> >The mailing list archives are available at
> >http://lists.linux-india.org/cgi-bin/wilma/linux-india-help
>
>-->> FREE Perl CGI scripts add WEB ACCESS to your
>-->> POP E-Mail accounts! Download today!! http://www.adjeweb.com
>
>
>----------------------------------------------
>An alpha version of a web based tool to manage
>your subscription with this mailing list is at
>http://lists.linux-india.org/cgi-bin/mj_wwwusr

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to