FATAL ERROR: Could not find errmsg.sys
FATAL ERROR: Could not find errmsg.sys
The following directories were searched:
/data01/***/share/english
/data01/***/share/english
/data01/***/share/mysql/english
If you compiled from source, you need to either run 'make install' to
copy the software into the correct location ready for operation.
If you don't want to do a full install, you can use the --srcddir
option to only install the mysql database and privilege tables
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
现象:报错提示找不到sys文件,但是将sys文件拷贝进相关目录,重新安装sql,依旧是这个报错。
分析:检查发现是主机已安装mysql,导致读.cnf文件时读取已存在my.cnf文件。
解决:换了一台主机部署mysql,成功部署。猜测问题主机卸载mysql文件应该可以安装成功,未测试。
浙公网安备 33010602011771号