You are right that RedHat is funny. 7 really seems weird. I tried for two
days to get everything going, (still am) and ran into all kinds of errors
with Mysql. I tried different versions, and had different problems on each.
I finally ran up2date to get everything update, and thought that would do
the trick. Not so.

I know, just configure it yourself, and don't use the rpms, but it is so
much better to maintain if you can use the rpms. At least for me. I don't
get lost trying to find where things are installed.

Back to the problem. I have tried doing what you said before, and tried it
again just now. Here is what I get.

[root@cypher mtuller]# /etc/rc.d/init.d/mysqld restart
Stopping MySQL:  [FAILED]
Starting MySQL:  [  OK  ]

All looks good!!......

Now I enter this.

[root@cypher mtuller]# mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/m
ysql.sock' (111)

I check to see mysql.sock is missing.....

[root@cypher mtuller]# locate mysql.sock
/var/lib/mysql/mysql.sock

I've ran mysql_install_db, I've flushed the databases, reinstalled, updated,
prayed to the server gods, and still I get the same thing. I know mysql will
work, because I had Supportwizard's version of Mysql running earlier, but
wanted to switch to a generic version so that I could use it for other
things.

GRRR!!!!!

What next? Any ideas?


> From: "John Jensen" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 26 Jan 2001 17:29:10 -0800
> To: [EMAIL PROTECTED]
> Subject: Re: Error 2002: can't connect to mysql.sock
> 
> Redhat is funny. I have 7 and had tried everything in the books to
> get mysql back up and running after a shutdown. Fortunately, I had an
> experienced programmer who had helped me set it up. I queried him and
> set back this command:
> /etc/rc.d/init.d/mysqld restart
> That did the trick.
> It seems v.7 comes with all the packages I either had installed, or
> tried to install on 6.2, and everything else boots with Apache, but
> they left off mysql. Go figure.
> 
> Apache also does not respond to the typical shutdown and restart
> commands given in the Apache manuals. Redhat has it set up to respond
> to their own commands.
> 
> On 26 Jan 2001, at 19:10, Mike Tuller wrote:
> 
>> I recently upgraded to RedHat 7, and now I can't get Mysql to start. I
>> keep getting error 2002: can't connect. I have looked at every piece
>> of documentation, and can't find the solution. The mysql.sock file
>> exists, but it still can't connect.
>> 
>> I have used the rpm of version 3.23.32 to install everything.
>> 
>> Thanks,
>> Mike
>> 
>> 
>> ---------------------------------------------------------------------
>> Before posting, please check:
>>    http://www.mysql.com/manual.php   (the manual)
>>    http://lists.mysql.com/           (the list archive)
>> 
>> To request this thread, e-mail <[EMAIL PROTECTED]> To
>> unsubscribe, e-mail
>> <[EMAIL PROTECTED]> Trouble
>> unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>> 
> 
> 
> John Jensen
> Jensen's Directories
> www.college-without-classes.com/
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>  http://www.mysql.com/manual.php   (the manual)
>  http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to