That tells you that mysql is not running.
As root run the following;
chkconfig mysqld on
/etc/rc.d/init.d/mysqld start
After that, you should be able to do what you need.
On Wed, 2 May 2001, Yi-chen Lan wrote:
> It tells me:
> 1618 pts/0 S 0:00 grep mysql
> YC
> On Wed, 02 May 2001, you wrote:
> > What does "ps -ax | grep mysql" tell you?
> >
> > On Wed, 2 May 2001, Yi-chen Lan wrote:
> >
> > > Hi,
> > > After I installed RH7, I check 'rpm -q mysql' and showed mysql-3.23.22-6, but
> > > when I type 'mysql' , an error message showed 'ERROR 2002: Can't connect to
> > > local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
> > > I checked the directory '/var/lib/mysql/' and found out the directory is empty.
> > > How can I solve this problem?
> > > Many thanks!
> > > -- YC
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list