Could it be that you have two mysql client binaries accessing two different
config files - some remainders of a previous MySQL installation?

Hannes


On 6/26/01 9:02 AM, "Peter Matulis" <[EMAIL PROTECTED]> wrote:

> Just installed 3.23.37 on Red Hat 7.0 from source.  I've done this a few
> times but this time I encountered a mysterious problem.
> 
> a) server is started and runs under my designated user (mysqladm:mysqlgrp)
> b) /usr/local/mysql/bin is in PATH of both root and mysqladm
> c) using either of these users, when I issue a mysql command (here
> mysqlshow):
> 
> mysqlshow: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
> 
> d) when I cd to /usr/local/mysql/bin and issue the command as shown it
> succeeds:
> 
> $ ./mysqlshow 
> +-------------+
> |  Databases  |
> +-------------+
> | mysql       |
> | test          |
> +--------------+
> 
> What's going on here?
> 
> Peter Matulis
> 
> ---------------------------------------------------------------------
> 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