[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] can't login to mysql
- Subject: Re: [cobalt-users] can't login to mysql
- From: "Dave Reid" <dave@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu Mar 22 10:00:31 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
> Hi
>
> I download the mysql pkg from
> http://pkg.nl.cobalt.com/i386/RaQ3-RaQ4-MySQL-3.22.32-1.pkg
>
> Installed.
>
> I thought I had to simply type "mysql" to login in to mysql.
>
> I get this message when I
>
> [root@fresh1 cobalt]# mysql
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
>
> I then tried to restart mysql
> [root@fresh1 cobalt]# /etc/rc.d/init.d/mysql stop
> No mysqld pid file found. Looked for /var/lib/mysql/mysqld.pid.
>
> No mysqld pid file found so I
>
> [root@fresh1 cobalt]# /etc/rc.d/init.d/mysql start
>
> Starting mysqld daemon with databases from /var/lib/mysql
> mysqld daemon ended
>
> Still get the same message when I try login.
>
> [root@fresh1 cobalt]# mysql
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
> [root@fresh1 cobalt]#
>
> What am I doing wrong? Any help our suggestion would be greatly
appreciated.
>
---------------reply-------------------
One thing you could check is all the files in the main mysql
directory. When we had problems after installing MySQL on our RaQ3
I had to go in and change ownership of all the files to root root.
There is also a log file that is created/appended everytime MySQL is
used, the information found there can be quite helpfull. I has been
Awhile, but I think it is simply named mysql.log. You can verify this
in your docs.
--------------------------------------------------------------------
Cheers, Dave Reid (Night Rider)
Never engage in a battle of wits unarmed
--------------------------------------------------------------------