mysqld: Can't change dir to data. Server doesn't start

后端 未结 14 1306
失恋的感觉
失恋的感觉 2020-12-07 13:16

I installed a MySQL server with installer and it started. After reboot I tried to start it again and get the error:

D:\\Program Files\\MySQL\\MySQL Server 5.         


        
14条回答
  •  轮回少年
    2020-12-07 13:39

    Since you used the Windows installer, everything is set up for you to run MySQL 5.7 as a Windows service, which is a great option in most cases.

    Instead of running mysqld.exe from the command line,

    1. Win + R
    2. Run services.msc
    3. Right-click on MySQL57
    4. Start the service.

提交回复
热议问题