I had the same issue. We had re-IPLed the Linux LPAR and possibly it got
shutdown uncleanly.
mysqld did not work but safe_mysqld did.
I can connect as any user now.
My guess is that the mysqld daemon is not up. When it tries to come up it
checks its pid fild and sock file. If it is already there, it thinks there
is another process using the socket or mysqld is already running.




James Melin <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
01/14/2004 07:57 AM
Please respond to Linux on 390 Port


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        mysql


I have a user that wants to use mysql on one of my lpars.

I have an issue where root can issue the mysql command from shell and get
into the mysql command line interface. When a non-root user tries, I get
this:


/ > mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)

What perchance did I miss? I have pathing in profile .local to /usr/sbin
so
things get picked up there... but shouldn't this have worked out of the
box
on a suse 7.2 installation?

Reply via email to