1、运行 D:\mysql\bin>mysqld-nt -remove Service successfully removed.D:\mysql\bin>mysqld-nt -install Service successfully installed.D:\mysql\bin>net start mysql MySQL 服务正在启动 . MySQL 服务已经启动成功。 2、检查%SystemRoot%\my.ini or %SystemDrive%\my.cnf是否正常?? 试一试把%SystemRoot%\my.ini 改成这样#This File was made using the WinMySQLAdmin 1.4 Tool #2003-5-22 11:03:07#Uncomment or Add only the keys that you know how works. #Read the MySQL Manual for instructions[mysqld] basedir=D:/mysql datadir=D:/mysql/data default-character-set= gbk [WinMySQLadmin] Server=D:/mysql/bin/mysqld-nt.exe
mysqld-nt --console
D:\mysql\bin>mysqld-nt -remove
Service successfully removed.D:\mysql\bin>mysqld-nt -install
Service successfully installed.D:\mysql\bin>net start mysql
MySQL 服务正在启动 .
MySQL 服务已经启动成功。
2、检查%SystemRoot%\my.ini or %SystemDrive%\my.cnf是否正常??
试一试把%SystemRoot%\my.ini 改成这样#This File was made using the WinMySQLAdmin 1.4 Tool
#2003-5-22 11:03:07#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions[mysqld]
basedir=D:/mysql
datadir=D:/mysql/data
default-character-set= gbk
[WinMySQLadmin]
Server=D:/mysql/bin/mysqld-nt.exe