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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-23-2002, 08:48 AM
|
#1
|
Member
Registered: Jun 2002
Distribution: Slacky!
Posts: 61
Rep:
|
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
|
|
|
11-23-2002, 08:53 AM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
use this as root:
rpm -e package_name
|
|
|
11-23-2002, 08:57 AM
|
#3
|
Member
Registered: Jun 2002
Distribution: Slacky!
Posts: 61
Original Poster
Rep:
|
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 :/
|
|
|
11-23-2002, 09:02 AM
|
#4
|
Member
Registered: Jun 2002
Distribution: Slacky!
Posts: 61
Original Poster
Rep:
|
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 :/
|
|
|
11-23-2002, 09:10 AM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
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.
|
|
|
11-23-2002, 09:13 AM
|
#6
|
Member
Registered: Jun 2002
Distribution: Slacky!
Posts: 61
Original Poster
Rep:
|
it says on the site that that is the server package
MySQL 3.23.53a Server (i386) (7.4M)
thats the one i downloaded
|
|
|
11-23-2002, 02:20 PM
|
#7
|
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|