时间:2021-07-01 10:21:17 帮助过:3人阅读
[root@c01 mysql-5.6.33]# /apps/mysql-5.6.33/scripts/mysql_install_db --datadir=/data/my_db --user=mysql FATAL ERROR: Could not find ./share/fill_help_tables.sql If you compiled from source, you need to run ‘make install‘ to copy the software into the correct location ready for operation. 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.
加上参数--basedir=
问题解决:
[root@c01 mysql-5.6.33]# /apps/mysql-5.6.33/scripts/mysql_install_db --datadir=/data/my_db --basedir=/apps/mysql-5.6.33/ --user=mysql
FATAL ERROR: Could not find ./share/fill_help_tables.sql
标签:tin com ase arc ext har either sof table