[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

 

相关文章:

  • 2021-07-03
  • 2021-09-20
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
猜你喜欢
  • 2020-10-28
  • 2021-08-11
  • 2022-12-23
  • 2021-10-13
相关资源
相似解决方案