奇怪的MySql错误<无法从messagefile中读取... errmsg.sys>


1

我试图在没有安装的情况下运行MySQL。

我下载了&amp; Lt; mysql-5.7.20-macos10.12-x86_64.tar.gz&amp; Gt;。在解压缩的文件夹中,我创建了一个文件&amp; Lt; errmsg.sys&amp; Gt;并设置权限:

enter image description here

然后我做:

/Users/an/Downloads/mysql-5.7.20-macos10.12-x86_64/bin/mysqld --initialize  --datadir=/Users/an/Downloads/mysql-5.7.20-macos10.12-x86_64/dddd --lc_messages_dir=/Users/an/Downloads/mysql-5.7.20-macos10.12-x86_64

哪个输出:

2017-11-02T15:47:26.271211Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-11-02T15:47:26.272268Z 0 [Warning] Using pre 5.5 semantics to load error messages from /Users/an/Downloads/mysql-5.7.20-macos10.12-x86_64/.
2017-11-02T15:47:26.272275Z 0 [Warning] If this is not intended, refer to the documentation for valid usage of --lc-messages-dir and --language parameters.
2017-11-02T15:47:26.272290Z 0 [ERROR] Can't read from messagefile '/Users/an/Downloads/mysql-5.7.20-macos10.12-x86_64/errmsg.sys'
2017-11-02T15:47:26.273697Z 0 [Warning] Setting lower_case_table_names=2 because file system for /Users/an/Downloads/mysql-5.7.20-macos10.12-x86_64/dddd/ is case insensitive
2017-11-02T15:47:26.453991Z 0 [Warning] InnoDB: New log files created, LSN=45790
2017-11-02T15:47:26.472988Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2017-11-02T15:47:26.528355Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 2[redacted]3.
2017-11-02T15:47:26.535568Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-11-02T15:47:26.536976Z 1 [Note] A temporary password is generated for root@localhost: [redacted]

什么是&amp; Lt; [ERROR]无法读取消息文件'... errmsg.sys'&amp; Gt;?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.