检查你的[WINNT]\my.ini文件,
将它删了,再试试吧,要么按下面的来改一下[mysqld]
log=MySQL.log
basedir=F:/mysql
datadir=F:/mysql/data
#bind-address=192.168.0.2
#port=3306
default-character-set=gb2312
#set-variable=default-charachte_set=gb2312
#
#tmpdir#=
#set-variable=key_buffer=16M
#set-variable = max_allowed_packet = 8M

解决方案 »

  1.   

    If you install MySQL in a folder other than
    C:\MYSQL or you intend to start MySQL on NT/Win2000
    as a service, you must create a file named C:\MY.CNF
    or \Windows\my.ini or \winnt\my.ini with the following
    information::[mysqld]
    basedir=E:/installation-path/
    datadir=E:/data-path/After your have installed MySQL, the installation
    directory  will contain a file named 'my-example.cnf'.
    You can use this as a starting point for your own
    C:\my.cnf file.If you have any problems, you can QQ them to
    12694448  hehe~  @_@
      

  2.   

    我没有找到我的机器里有my.ini呀?是不是怎么设的?为什么没有呢?
      

  3.   

    修改my.cnf
    [mysqld]basedir=F:/mysql
    datadir=F:/mysql/data
    把他拷贝到C盘根目录下。