Hassan Schroeder wrote:
Mark Sargent wrote:
hmmmm, that is annoying, as I did a yum remove mysql b4 installing 4.1. Shouldn't the yum remove, remove it fully..?
Sorry, can't help there, don't know anything about 'yum'.
[EMAIL PROTECTED] ~]# mysql -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 to server version: 4.1.11-standard
and, if it's the older 1, why does it state ver 4.1.11-standard, if it's the original..? Which showed that mysql is also at /usr/bin/mysql, the older, I guess, that you alluded to, so, when typing mysql -p it is using the older client to connect to ver 4.1.11-standard which is at /usr/local/mysql, yes..? Sorry, I'm still rather a newb at Linux also.
`mysql` is the client, which as you surmise is the old version; the MySQL daemon (server) process is `mysqld`, frequently started using a script called `mysqld_safe` or `safe_mysqld` ; look in the 'bin' directory of your MySQL install...
You may also find it useful to run something like:
prompt# find / -type f -name 'mysql*' -print
:: to see what-all's scattered around your system :-)
HTH!
Hi All,
ok, I don't fully understand why, but, mysql is still installed in /usr/bin. What I've done, just for now, is renamed mysql in that dir to mysqlold. I've added /usr/local/mysql/bin to my path. I then tried the cmd mysql and also ./mysql from within the dir /usr/local/mysql/bin, and after entering the correct password, I get the following,
[EMAIL PROTECTED] bin]# ./mysql -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
If I run ./usr/bin/mysqlold I can connect. What am I not understanding with this..? Cheers, again.
Mark Sargent.
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]