[NTLUG:Discuss] wierd MySQL problem

Jack Snodgrass idiotboy at cybermail.net
Sat Dec 8 07:56:19 CST 2001


----- Original Message -----
From: "Raymond Norton" <ray at lctn.k12.mn.us>
To: <discuss at ntlug.org>
Sent: Friday, December 07, 2001 8:11 PM
Subject: [NTLUG:Discuss] wierd MySQL problem


> I just installed MySQL-2.23.46-1.i386.rpm on RedHat 7.1 Once done I was
> going to set the root password as per the instructions. I couldn't find
> mysqladmin, so I was instructed to install the matching client, but still
no
> mysqladmin. This is what I get:
>
> When I do rpm -i MySQL-2.23.46-1.i386.rpm I get "Already installed"
so ... it's installed...

> When I do rpm -e MySQL-2.23.46-1.i386.rpm  I get "Not installed"

you would do rpm -e MySQL-2.23.46-1 if you wanted to uninstall it.

do a
rpm -q -a | sort
to list of of the packages that are installed. the package names don't
include
the .rpm or machine time extensions that are part of the package name.

>
> When I do -q MySQL* I get "package MySQL-3.23.46-1.i386.rpm is not
> installed"

your asking if the file you have on disk ( MySQL-3.23.46-1.i386.rpm  ) is
installed. You want to do a
rpm -q -a | grep -i sql
to list all of the packages that are installed ( rpm -q -a ) and then find
if any
contain the letters ( in any case ) sql ( -i sql )


> "package MySQL-client-3.23.46-1.i386.rpm not installed"
>
> Then of course the best part is mysqld is running.
>
>  I checked  for an existing  MySQL install before attempting to
> install the  new rpm, and it said there was none. Is there a possibility
> there was a previous version? How would I check to see what version "is
> running"? The bigger question is how can I straighten this out?

RedHat packaged mysql in diffeent groups. mysql, mysql-client, and
mysql-server.
I don't know what's in the different packages. Make sure that they are all
installed.
It may not install mysqladmin in your path. you may have to figure out where
it
gets intalled and run it from that path.

jack



>
> Raymond
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>





More information about the Discuss mailing list