LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-23-2002, 08:48 AM   #1
banelion
Member
 
Registered: Jun 2002
Distribution: Slacky!
Posts: 61

Rep: Reputation: 15
uninstalling mysql


hey, im a linux noob, and i tried to install mysql

im running clarkconnect which comes with apache and php installed.

i installed 3.23.53a-1, and i found some documentation that said i needed to install normal and server, and the latest version of server i could fidn was 3.23.41-1.

so i want to uninstall 3.23.53a-1 because i have to uninstall it before i can put on 3.23.41-1l.

it came in an rpm.. anyone got any suggestions?

thanks
james
 
Old 11-23-2002, 08:53 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
use this as root:

rpm -e package_name
 
Old 11-23-2002, 08:57 AM   #3
banelion
Member
 
Registered: Jun 2002
Distribution: Slacky!
Posts: 61

Original Poster
Rep: Reputation: 15
thx, i just tried it, but it said that MySQL-3.23.53a-1.i386.rpm didn't exist, except that's the exact one i installed :/
 
Old 11-23-2002, 09:02 AM   #4
banelion
Member
 
Registered: Jun 2002
Distribution: Slacky!
Posts: 61

Original Poster
Rep: Reputation: 15
hmm it says on the mysql site that the one i installed is the right server one :/

im INCREDIBLY confused

in the documentation it told me to use things like mysqladmin and stuff, things that didn't exist on the entire hdd :/
 
Old 11-23-2002, 09:10 AM   #5
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
u don't have to use the complete package file name - just use the package name:

rpm -e mysql

or

rpm -e MySQL

if the filename is MySQL-3.23.53a-1.i386.rpm. (it's case sensite . mysqladmin is provided by the mysql-server package. So if u haven't installed mysql-server yet, u can't use mysqladmin.
 
Old 11-23-2002, 09:13 AM   #6
banelion
Member
 
Registered: Jun 2002
Distribution: Slacky!
Posts: 61

Original Poster
Rep: Reputation: 15
it says on the site that that is the server package

MySQL 3.23.53a Server (i386) (7.4M)

thats the one i downloaded
 
Old 11-23-2002, 02:20 PM   #7
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
i think there is nothing wrong with your server.u need the client, too. install them as told above
rpm -i /path/to/xx.rpm
then u have to add a user for that - in the documentation called 'mysql',
chown the data directory to this user and
if i didn't leave out sth yet
then u can start the server
'/usr/local/mysql/bin/safe_mysqld -u mysql &'
as far as i remember u don't even have to run this mysql_install_db if u install via rpm but i'm not sure.
there is a very detailed documentation of mysql and the install procedure for all ways of installation
good luck
jens
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling MySQL tobycatlin Linux - Software 1 05-20-2005 05:16 AM
Uninstalling MySQL - Catch22 rickh Linux - Software 1 03-15-2005 05:15 PM
Uninstalling/Upgrading MySQL jabird Red Hat 4 10-08-2004 03:27 PM
Uninstalling MySQL (not rpm) ridertech Linux - Software 3 05-12-2004 12:43 AM
Help in uninstalling mysql forgad Linux - Newbie 1 11-05-2003 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration