Link to home
Start Free TrialLog in
Avatar of blaisedurbin
blaisedurbin

asked on

How do I completely uninstall MySQL to make way for full reinstall?

Dear Experts,

Operating System: Windows Vista
Web Server: Apache 2.2.6
Language: PHP 5.2.5
Database: MySQL 5.0

In an attempt to resolve an ongoing issue with Dreamweaver CS3, I made a costly decision to uninstall Apache, php and MySQL. While the reinstallation of Apache and php were wildly successful, the attempt to reisntall MySQL was not.

SCOPE OF PROBLEM
When attempting to reinstall MySQL from a newly downloaded installation file from MySQL.com, the installation manger completely bypasses crtitical screens that allow for overall configuration, setting up windows sevice and dedicated port, password assignment, database engine, etc.

While it appears that MySQL may have installed, I was not given the opportunity to properly configure the system.

1. Do you have any suggestions for completely cleaning my computer to rid it of all traces of the previous installation to allow for a full reinstallation?

If not,

2. Can you provide a step-by-step instruction for configuring MySQL manually, using the provided sample My.ini files (ie small, medium , large)? NOte: THis is not my preferred method given my limited experience.

Any help you can provide is gretaly appreciated.

Sincerest admiration,

Brian Walker

P.S. Are there any web developers in the Chicago area who are both MYSQL and Dreamweaver CS3 experts that are looking for some freelance work on a large-scale eCommerce site development project?

Avatar of nplib
nplib
Flag of Canada image

I would delete the mysql folder, then search you HD for the my.cnf,
then search your registry for anything with mysql in it and delete it.

also make backup of registry first.
Avatar of blaisedurbin
blaisedurbin

ASKER

Dear nplib,

Thank you for your fast response. I have tried deleting mysql folder and have searched my HD for all traces of MySQL artifacts. However, I have never been able to find the my.cnf file. Any suggestions as to where it might be? Also, in terms of the registry, can you offer me any clues as to where I should be looking specifically within the registry for MYSQL files?

Thank you again for your quick reply.

Brian
I don't know exactly, I would just highlight the top most, do a search on mysql, and delete what ever you might find.

if the my.cnf existed anywhere outside of the mysql dir, it would be either in c:\windows or c:\windows\system32
Thank you,

I'll try this and get back to you asap. Stay tuned...
nplib,

Unfortunately, none of your recommended steps worked. Here is a list of the steps I tried:

1. Searched and deleted form HD all mysql files, artifacts, references.
2. Searched and did not find the my.cnf file (is the my.ini file thesame thing? I deleted this, too.)
3. Searched the Registry and removed any myslq references.

After these steps did the following:

1. Downloaded a fresh copy of the mysql-5.0.51a-win32.zip (with set-up) file.
2. Ran the file which resulted in skipping the configuration wizard completely, which is not allowing me to configure the setup.

Is there anyone you know who can provide guidance for confiring MySQl manually using the my.ini file?

Thank you for your help.

Brian Walker
yeah, configuring it is easy.

install then ask.
nplib,

Thank you. I have reinstalled MySQL, selected the "Medium.ini" template as my configuration template, renamed that file to my.ini, made a copy of it and placed it in the mysql/data/ directory and am now ready to configure the file manually.
How should I proceed? Man, you're working hard today... Help me to resolve this and I'll send you a case of beer. No joke.


post the my.ini
though shouldn't be my.cnf?

any how,

post it and tell me what you want configured.
I have posted the my.ini file, and to be honest, I am a bit confused about the difference between a .ini and .cnf file, all I know is that the .ini file seems to be what my particular system and set-up is looking for.
It terms of how I want it configured, I am not sure. Not to be flip, but I want to configure it so that it works... but let me try to provide as much info as I can about the configuration I believe I need to make this work.

1. I am running on Windows Vista
2. I am using Apache 2.2.6 as my server
3. I am using php 5.2.5 as the development language.

If the configuration wizard had worked in my initial install attempt, it would have asked for and configured the following server instance parameters:

a. This is a "Developer Machine"
b. Should be configured as a "Transactional Database" optimized for application servers and transactional web applications; using InnoDB as the main storage engine.
c. Concurrent Connections should be set to 20 and use the Decision Support (DSS)/OLAP configuration.
d. Enable TCP/IP Networking --Port Number:3306
e. Disable "Strict Mode"
f. Standard Character Set = Latin1
g. Install as a Windows Service launced automatically upon reboot.
h. Include Bin Directory in Windows path
i. Disable Modify Security Settings - no root password
j. include old-passwords

With all of this configured, do you know exactly which directories to place this newly created .ini file in on the windows sytem to ensure that MySQL runs?

Thank you so very much for your help. I'm beggining to feel like a nag and a drain on your day. Hopefully your help with this will help resovle once and for all.

Thank you.


my.ini.txt
ASKER CERTIFIED SOLUTION
Avatar of nplib
nplib
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you so much for your help today. It is greatly appreciated. Hope to work with you again soon.