ฉันพยายามเรียกใช้ MySQL โดยไม่ต้องติดตั้ง
ฉันดาวน์โหลด & amp; Lt; mysql-5.7.20-macos10.12-x86_64.tar.gz & amp; Gt; ในโฟลเดอร์ที่แยกแล้วฉันสร้างไฟล์ & amp; Lt; errmsg.sys & amp; Gt; และตั้งค่าการอนุญาต:
จากนั้นฉันก็:
/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; [ข้อผิดพลาด] ไม่สามารถอ่านจาก messagefile '... errmsg.sys' & amp; Gt ;?