[NTLUG:Discuss] wierd MySQL problem
Raymond Norton
ray at lctn.k12.mn.us
Sat Dec 8 09:56:08 CST 2001
Here is what I get in typescript:
----- Original Message -----
From: "Jack Snodgrass" <idiotboy at cybermail.net>
To: <discuss at ntlug.org>
Sent: Saturday, December 08, 2001 9:03 AM
Subject: Re: [NTLUG:Discuss] wierd MySQL problem
> which mysql package did you install?
>
> on my 7.1 system ( I installed mysql from a tar.gz file and
> compiled it myself ) the system supplied rpm file for mysql
> show:
>
> rpm -q -l -p mysql-server-3.23.36-1.i386.rpm
> /etc/logrotate.d/mysqld
> /etc/rc.d/init.d/mysqld
> /usr/bin/mysqladmin
> /usr/bin/safe_mysqld
> /usr/libexec/mysqld
> /var/lib/mysql
> /var/log/mysqld.log
> /var/run/mysqld
>
> so mysqladmin should be in /usr/bin.
> When I installed my copy, I put it in /usr/local/mysql/bin
>
> ------------------------------------------------------------
> Jack
> Available for Linux administration, configuration and setup.
> ------------------------------------------------------------
>
> ----- Original Message -----
> From: "Raymond Norton" <ray at lctn.k12.mn.us>
> To: <discuss at ntlug.org>
> Sent: Saturday, December 08, 2001 8:06 AM
> Subject: Re: [NTLUG:Discuss] wierd MySQL problem
>
>
> > Thanks. I did manage to uninstall it, and reinstall, but both times
> > mysqladmin does not show up. I have looked in the proper locations, and
> did
> > a "locate", but it is no where to be found. Any ideas how I can resolve
> > this?
> >
> > Raymond
> > ----- Original Message -----
> > From: "Jack Snodgrass" <idiotboy at cybermail.net>
> > To: <discuss at ntlug.org>
> > Sent: Saturday, December 08, 2001 7:56 AM
> > Subject: Re: [NTLUG:Discuss] wierd MySQL problem
> >
> >
> > >
> > > ----- 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
> > > >
> > >
> > >
> > > _______________________________________________
> > > http://www.ntlug.org/mailman/listinfo/discuss
> > >
> >
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typescript
Type: application/octet-stream
Size: 8192 bytes
Desc: not available
Url : http://ntlug.org/pipermail/discuss/attachments/20011208/20824e66/typescript.obj
More information about the Discuss
mailing list