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

后端 未结 14 1334
失恋的感觉
失恋的感觉 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:33

    In mysql 8.0.13 zip package initializing.

    1. Verify that data folder is empty.

    2. Under the mysql bin path run

      mysqld.exe --initialize-insecure

    3. Add to my.ini native mysql

      [mysqld]

      default_authentication_plugin=mysql_native_password

提交回复
热议问题