查看你的系统目录下是否有一个 my.ini 文件,根据下面的内容自行设置一下[mysqld]# Uncomment the following rows if you move the MySQL distribution to another location
basedir =D:/mysql
datadir =D:/mysql/data
#tmpdir#=
# 临时文件存放目录
#bind-address=192.168.0.2
# 本机的IP地址
port=3306
# 所占用的IP端口
#language =chinese
# 服务器返回信息语言
default-character-set =gb2312
# 服务器默认的字符集,加上后就支持中文字段,中文索引等
#timezone =GMT+ 8
# 时区北京# Uncomment the following if you want to log updates
#log-bin = d:/mysql/log/123.log 
#  二进制Log文件,用于镜像服务器
log =d:/mysql/log/sql.log
#  Log记录
local-infile =1
# 允许使用 LOAD  DATA  LOCAL
#socket =MySQL
#skip-locking
set-variable = key_buffer=16K
set-variable = max_allowed_packet=1M
set-variable = thread_concurrency=4
#  CPU数目*2
set-variable = thread_stack=64K
set-variable = table_cache=4
set-variable = sort_buffer=64K
set-variable = net_buffer_length=2K
server-id = 1# Un comment the following if you are NOT using BDB tables
skip-bdb# Uncomment the following if you are using Innobase tables
skip-innodb

解决方案 »

  1.   

    右键选右下角那个图标,选WIN NT,然后选remove the service,然后再install the service,最后再选start the service,应该就可以了!我原来也遇到过这个问题!
      

  2.   

    右键选右下角那个图标,选WIN NT,然后选remove the service,然后再install the service,最后再选start the service,应该就可以了!我原来也遇到过这个问题!