这两天我也一直在用MYSQL。
要重装,首先你应该打开Windows组件服务,并终止服务Mysql,然后你就可以在Windows安装/卸载应用程序 里卸载了;
卸载完成后,再重新安装一遍,然后再到Windows组件服务里启动它就可以了!
你试试看

解决方案 »

  1.   

    来个彻底的,删除原来的安装目录
    然后在注册表里,把所有有关mysql 的项都删除
      

  2.   

    Windows 2000, XP and NT 4.0 Installation
    If you're upgrading an existing MySQL installation, there are some things you need to do first. If you're doing a new install, jump down to the relevant section.When changing from 3.23 to 4.0 and you use shared libraries like DBD-mysql and MySQLdb, you'll probably have to recompile them. See the manual for more details.If 3.23 to 4.0: Check startup scripts and configuration files for deprecated options. To find them, follow this link to the manual and then scroll down a bit. 
    Open up a Command Prompt window. The default location is: Start | Programs | Accessories | Command Prompt. 
    Switch to the drive which has your present mysql\bin directory. Eg: L:\> c: 
    Move into the MySQL bin directory: cd mysql\bin 
    Dump your data: mysqldump -u root -p --add-drop-table -A -r c:\secure\myold.sql 
    Stop the MySQL service: net stop mysql 
    If changing from 3.23 to 4.0 and you have some tables in the old ISAM format, you'll need to change them to the new MyISAM format. There are several ways to do this. Here are three possibilities: 
    sed: sed 's/^) TYPE=ISAM/) TYPE=MyISAM/' c:\secure\myold.sql > c:\secure\mynew.sql 
    Perl: perl -wpe 's;^\) TYPE=ISAM;\) TYPE=MyISAM;i' < c:\secure\myold.sql > c:\secure\mynew.sql 
    Your favorite text editor: open c:\secure\myold.sql then do a search and replace on TYPE=ISAM to TYPE=MyISAM. Save the file as mynew.sql. 
    Remove the existing service by typing in mysqld --remove 
    Jump up two directory levels: cd ..\.. 
    Rename your old mysql directory as a backup: ren mysql myold