目录

mysqld --initialize --console 初始data目录文件已经存在;

  • [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.

编译成功

:\tool\mysql\mysql-8.0.12-winx64\bin>mysqld --initialize --console
2018-09-16T03:10:10.354610Z 0 [Warning] [MY-011068] [Server] The syntax '--language/-l' is deprecated and will be removed in a future release. Please use '--lc-messages-dir' instead.
2018-09-16T03:10:10.354754Z 0 [System] [MY-013169] [Server] C:\tool\mysql\mysql-8.0.12-winx64\bin\mysqld.exe (mysqld 8.0.12) initializing of server in progress as process 1072
2018-09-16T03:10:10.354862Z 0 [Warning] [MY-010339] [Server] Using pre 5.5 semantics to load error messages from C:\tool\mysql\mysql-8.0.12-winx64\share\english\. If this is not intended, refer to the documentation for valid usage of --lc-messages-dir and --language parameters.
2018-09-16T03:10:15.184427Z 5 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: EouVYF*hp8Uy
2018-09-16T03:10:18.049462Z 0 [System] [MY-013170] [Server] C:\tool\mysql\mysql-8.0.12-winx64\bin\mysqld.exe (mysqld 8.0.12) initializing of server has completed

问题2: win10 mysql Can't find error-message file

解决方法: [mysqld] language = /opt/mysql/mysql-5.6.29-linux-glibc2.5-x86_64/share/english

results matching ""

    No results matching ""