当前位置: 首页 > 工具软件 > Giiwa-Message > 使用案例 >

Can't find error-message file '/usr/local/mysql/share/errmsg.sys'. Check error-message file location

公孙盛
2023-12-01

将源码包里面的/usr/local/mysql/mysql-5.7.22-linux-glibc2.12-x86_64/share/english/errmsg.sys复制到/usr/share/mysql/errmsg.sys



 bin/mysqld --user=mysql --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/
2018-07-01T10:56:02.201586Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2018-07-01T10:56:02.201762Z 0 [Warning] Changed limits: table_open_cache: 407 (requested 2000)
2018-07-01T10:56:02.446307Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-07-01T10:56:02.446420Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2018-07-01T10:56:02.446455Z 0 [Note] bin/mysqld (mysqld 5.7.22) starting as process 18291 ...
2018-07-01T10:56:02.446492Z 0 [ERROR] Can't find error-message file '/usr/local/mysql/share/errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.
2018-07-01T10:56:02.451472Z 0 [Note] InnoDB: PUNCH HOLE support available
2018-07-01T10:56:02.451495Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-07-01T10:56:02.451499Z 0 [Note] InnoDB: Uses event mutexes
2018-07-01T10:56:02.451503Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-07-01T10:56:02.451506Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-07-01T10:56:02.451509Z 0 [Note] InnoDB: Using Linux native AIO
2018-07-01T10:56:02.451796Z 0 [Note] InnoDB: Number of pools: 1
2018-07-01T10:56:02.451914Z 0 [Note] InnoDB: Using CPU crc32 instructions
2018-07-01T10:56:02.454501Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2018-07-01T10:56:02.472298Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-07-01T10:56:02.477901Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-07-01T10:56:02.590454Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2018-07-01T10:56:02.712385Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-07-01T10:56:02.712702Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-07-01T10:56:02.793581Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-07-01T10:56:02.795893Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2018-07-01T10:56:02.795909Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2018-07-01T10:56:02.796490Z 0 [Note] InnoDB: Waiting for purge to start
2018-07-01T10:56:02.847170Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 1209961
2018-07-01T10:56:02.848722Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Unknown error 1146
2018-07-01T10:56:02.872066Z 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool
2018-07-01T10:56:02.872359Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-07-01T10:56:02.876448Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180701 18:56:02
2018-07-01T10:56:02.926176Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2018-07-01T10:56:02.926406Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2018-07-01T10:56:02.926451Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2018-07-01T10:56:02.927521Z 0 [Note] IPv6 is available.
2018-07-01T10:56:02.927538Z 0 [Note]   - '::' resolves to '::';
2018-07-01T10:56:02.927560Z 0 [Note] Server socket created on IP: '::'.
2018-07-01T10:56:02.930047Z 0 [Warning] Failed to open optimizer cost constant tables


2018-07-01T10:56:02.930254Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Unknown error 1146
2018-07-01T10:56:02.930346Z 0 [ERROR] Aborting


 类似资料: