[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] MySQL refuse to allows me to connect
- Subject: Re: [cobalt-users] MySQL refuse to allows me to connect
- From: Nico Meijer <nico.meijer@xxxxxxxxx>
- Date: Thu Mar 14 04:20:03 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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