|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I remove mySQL? Shall I delete alll mySQL files? How? Please help!!
|
|
#2
|
|||
|
|||
|
In UNIX env.
1.as root kill processes -mysqld -safe_mysqld 2.Delete a link to MySQL's home directory (it may be /usr/local/mysql). 3.Remove MySQL's home directory thru a command# rm -r 'MySQL's home directory'. 4. Check a file /etc/my.cnf. Delete If it exists 5. Check /etc/rc* scripts for entrance of record 'safe_mysqld'. Delete string with this record. |
|
#3
|
|||
|
|||
|
Could you give some more details for a BSD UNIX variation!
|
|
#4
|
|||
|
|||
|
>>Could you give some more details for a BSD UNIX variation!
Did you install thru "pre-compiled package" or "port" or compiled from source? Let say it's mysql-server-3.22.32, go to http://www.freebsd.org/handbook/ports-using.html and read "4.2.2. Removing Installed Ports". If it doesn't deinstall cleanly, go to /var/db/pkg/mysql-server-3.22.32/ and read the +CONTENTS file and remove the unremoved files/directories. If you compiled from source, there should be a temp file about the target directories that are being installed to. Then follow kudinov's instruction and remove them manually. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > uninstalling mySQL!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|