windows10配置mysql失败

各位大神看看下面是什么错误
以下是mysql启动日志:

mysqld: Can't change dir to 'D:\soft\mysql\mysql-5.7.10\data\' (Errcode: 2 - No such file or directory)
2015-12-09T03:10:18.851979Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-12-09T03:10:18.851979Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2015-12-09T03:10:18.852979Z 0 [Note] mysqld (mysqld 5.7.10) starting as process 5936 ...
2015-12-09T03:10:18.854968Z 0 [Warning] Can't create test file D:\soft\mysql\mysql-5.7.10\data\yzl021.lower-test
2015-12-09T03:10:18.854968Z 0 [Warning] Can't create test file D:\soft\mysql\mysql-5.7.10\data\yzl021.lower-test
2015-12-09T03:10:18.856879Z 0 [ERROR] failed to set datadir to D:\soft\mysql\mysql-5.7.10\data\
2015-12-09T03:10:18.861884Z 0 [ERROR] Aborting

2015-12-09T03:10:18.862897Z 0 [Note] Binlog end
2015-12-09T03:10:18.863567Z 0 [Note] mysqld: Shutdown complete

阅读 7.2k
评论
    2 个回答

    Can't change dir to 'D:\soft\mysql\mysql-5.7.10\data\' (Errcode: 2 - No such file or directory)
    哥们你数据库文件存储的路径不存在
    重新运行一下MySQLInstanceConfig,重新配置一下数据库文件的存储路径。

        撰写回答

        登录后参与交流、获取后续更新提醒