mysql configuration stops at “starting server”

后端 未结 12 2301
情书的邮戳
情书的邮戳 2020-11-28 06:56

I was installing MySQL installer on my windows 8 machine. During the server configuration process, it gets stuck at \"starting server\" and doesn\'t move any further. The lo

12条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 07:00

    I faced the same problem. Completely removing MySql from my PC and then installing it from scratch fixed my problem.

    How to remove MySql Completely:

    1. Run Command Prompt as Administrator and execute the following command to stop and remove MySQL service.

      Net stop MySQL
      Sc delete MySQL
      
    2. Go to Control Panel >> Programs >> Programs and Features, select MySQL Server 5.x and click Uninstall. (If you can uninstall MySQL from Control Panel)

    3. Open Windows Explorer and go to Organize > Folder and search options, Select the “View” tab and under “Hidden files and Folders” choose “Show hidden files and folders”. Now explore the following locations and delete following folders.

      • C:\Program Files\MySQL
      • C:\Program Files (x86)\MySQL
      • C:\ProgramData\MySQL

      And if this exists, delete it too:

      C:\Users\[User-Name]\AppData\Roaming\MySQL
      
    4. Restart your PC and reinstall MySQL. That’s all!

提交回复
热议问题