Wednesday, August 2, 2006

Exit Strategy - XAMP

It's good if the software you are trying has a well designed uninstaller, if not then you'll have to learn how.

I installed a few times Apache, MySql and PHP5 on Windows XP I would say that wasn't too difficult. This is commonly known as XAMP. I experienced a problem when I changed my mind from having MySql on d:\ rather than on c:\. That caused problem on registry and windows services unless you have properly uninstalled it.

This is how you remove MySql.

  1. Navigate to the folder mysql/bin/ in DOS command prompt then type in 'mysqladmin -uroot -p shutdown'
  2. You'll be prompted for password for the root user, enter what you know. If you don't remember, which is common, try 'test' or nothing (hit return).
  3. If you are lucky getting through last step type 'mysqld --remove'
  4. Check under control panal>administrative tools>services to see if MySql has disappeared
  5. Go to Add/Remove Programs in Control Panel, look for MySql servers and clients 4.0.21 and click remove
  6. When it's properly removed you can delete the MySql folder

You should save your databases stored in /mysql/data/ if you want to keep them for later uses

To uninstall Apache as a service, open a Command Prompt window.

  • Navigate to C:\Program Files\Apache Group\Apache2\bin (where you find apache.exe)
  • Type 'apache -k uninstall' then exit DOS window.
  • Check under control panal>administrative tools>services to see if Apache2 has disappeared.
  • Navigate to Add/Remove Programs in the Control Panel.
  • Uninstall 'Apache HTTP Server 2.0.42' by clicking Remove.
  • Now you can delete the Apache directory

I have almost forgotten PHP5. It's not installed as a service therefore just point to the folder and hit delete, Windows don't care!

No comments:

Post a Comment