[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] MySQL refuse to allows me to connect



I had the exact same problem.  In /var/lib/mysql  make a sim link to
mysql.sock in the /tmp dir. if mysql.sock is not in /tmp, do a locate
mysql.sock to find it.

from in the /var/lib/mysql directory,  type  ln -s /home/tmp/mysql.sock
mysql.sock  Of course, replace /home/tmp/mysql.sock  with the true location.
All was good for me after that.

Hope this helps.

Rich
----- Original Message -----
From: "Nico Meijer" <nico.meijer@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, March 14, 2002 3:05 PM
Subject: Re: [cobalt-users] MySQL refuse to allows me to connect


> Hi Charles,
>
> > I have installed Cobalt MySQL Release 3.23.37-1 and the connection to
mysql
> > is nor working.
>
> Could you specify what you mean by "the" connection? There are a lot of
ways to connect to a MySQL server.
>
> Have you set up the MySQL root password? (mysqladmin -h hostname -u user
password 'new password')
>
> Quickie: an instance of "mysql -u root -p" through a shell session should
always yield at least some result, even if you enter the wrong password.
>
> > In fact I never can connect to the server everytime i try to
> > connect I it wait for ages (one more then 4 hours) doing nothing.
>
> You have too much time on your hands. ;-)
>
> Five to ten seconds should be the max waiting time, depending on your
connection.
>
> > I try to had verbose information but nothing happen.
>
> Did you start MySQL? Something like "/etc/init.d/mysql start". What output
does `ps aux |grep -i "mysql"` give?
>
> > I did uninstall and
> > reinstall it twice (and erase the file in /var/lib/mysql/*) but still
the
> > very same probleme I wonder if the connection is block and how I could
sees
> > that ?
>
> Uninstalling and reinstalling will not do the trick. This is not a Windows
box.
>
> Do you see a [f.q.d.n].pid in /var/lib/mysql? If not, MySQL is not
running.
>
> Good luck... Nico
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>