mysqld: Can't change dir to 'D:\TONG\mysql-5.7.19-winx64\data\' (Errcode: 2 - No such file or directory)

mysqld: Can't change dir to 'D:\TONG\mysql-5.7.19-winx64\data\' (Errcode: 2 - No such file or directory)
2017-09-20T07:27:11.588451Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-09-20T07:27:11.588451Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2017-09-20T07:27:11.589449Z 0 [Note] mysqld (mysqld 5.7.19) starting as process 7216 ...
2017-09-20T07:27:11.592454Z 0 [Warning] Can't create test file D:\TONG\mysql-5.7.19-winx64\data\LAPTOP-APUL5GO0.lower-test
2017-09-20T07:27:11.593452Z 0 [Warning] Can't create test file D:\TONG\mysql-5.7.19-winx64\data\LAPTOP-APUL5GO0.lower-test
2017-09-20T07:27:11.595455Z 0 [ERROR] failed to set datadir to D:\TONG\mysql-5.7.19-winx64\data\
2017-09-20T07:27:11.609104Z 0 [ERROR] Aborting

2017-09-20T07:27:11.610105Z 0 [Note] Binlog end
2017-09-20T07:27:11.612108Z 0 [Note] mysqld: Shutdown complete

 

 

1 路径不对,

2 或者,命令没有打对

posted @ 2017-09-20 15:41  壹品轩  阅读(9987)  评论(1编辑  收藏  举报