You must have an rpm installation of mysql and your source installation.
Check to see if there are mysql* commands within /usr/bin directory. It's
going to search there first, then /usr/local/bin. The commands within
/usr/bin are going to look for the mysql-everthing within /var/lib/

Jonathan
----- Original Message -----
From: "Peter Matulis" <[EMAIL PROTECTED]>
To: "Mysql (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 12:02 PM
Subject: Odd problem issueing commands at the console


> 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