1067 error on attempt to start MySQL

后端 未结 26 2067
无人及你
无人及你 2020-12-13 14:12

I\'ve installed MySQL on Windows 7. When I\'m trying to start MySQL service I\'m getting error 1067: The process terminated unexpectedly. Log message:

101111         


        
26条回答
  •  醉酒成梦
    2020-12-13 14:39

    Check the file "C:\Program Files\MySQL\MySQL Server 5.1\my.ini"

    The datadir line in my.ini should specify a path. Check the contents of that datadir path. Does it contain a folder named "mysql" and another folder named "test"?

    If not, here are two choices:

    1. Change the datadir line in my.ini to the correct location. This will probably be C:\ProgramData\MySQL\MySQL Server 5.1\data

    2. Clean out the existing contents of your datadir path. Copy the contents of the C:\ProgramData\MySQL\MySQL Server 5.1\data to your datadir path. Restarting the mysql service should rebuild your empty database.

提交回复
热议问题