DeveloperSide.NET Forums
November 22, 2019, 06:06:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: MYSQL - how to UNinstall  (Read 16332 times)
0 Members and 1 Guest are viewing this topic.
steve
Guest
« on: October 02, 2003, 01:05:15 PM »

Newbie installed MYSQL frmo RedHat 9 disks.

I want to uninstall it and start it fresh so I understand the command line options better

how do I unistall the entire mysql package?

is it a command line switch after mysql_install_db
Logged
steve
Guest
« Reply #1 on: October 02, 2003, 03:42:18 PM »

I guess I failed to mention that I installed Red Hat 9 from a CD-ROM so MYSQL was installed by Red Hat by Default. So I had to figure out a way to uninstall  it, so I could follow some instructions from a document I found at DevShed.com
   http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/



So on to the next step:

I found some instructions through google at this website:
     http://www.soapi.com/howto/mysql.htm

I followed the instructions to list the RPM's for MYSQL that were installed on my box

I had some errors with dependencies, and the only way I could get around them is to erase the rpm package with the extra switch
   --nodeps  (no dependencies)

in the end, it looks like it removed mysql from my system, so now I will go get the latest binary version from mysql.com
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #2 on: October 02, 2003, 06:35:21 PM »

How about the instructions on http://www.devside.net.

I mean, this is the board for that site.

Why list those other inferior instructions.

You remove the mysql RPM package like this:

> rpm -e mysql
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
TCPMeta
Jr. Member
**
Posts: 60


View Profile
« Reply #3 on: May 31, 2004, 01:10:12 PM »

I used your guide to install MySQL and I messed up on the chroot command

bin/mysqld_safe ... --chroot=DIR ... &

Now MySQL doesn't want to start. How do I fix this?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #4 on: May 31, 2004, 06:01:24 PM »

type...
ps -auxf

find mysql and kill the process
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
TCPMeta
Jr. Member
**
Posts: 60


View Profile
« Reply #5 on: June 01, 2004, 01:57:22 PM »

Werid, it's not listed.
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #6 on: June 01, 2004, 04:16:14 PM »

See if my.cnf was changed in any way...
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
TCPMeta
Jr. Member
**
Posts: 60


View Profile
« Reply #7 on: June 04, 2004, 01:41:07 PM »

Ok, I fixed it. How do I set it to startup on bootup? I have it installed in /usr/local/mysql
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!