一开始从官网下载tar.gz包安装遇到错误
错误:FATAL ERROR: Could not find ./share/fill_help_tables.sql
解决方法: 加上参数--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 ./fill_help_tables.sql
没有找到解决方法!!!
后来用另外一种方法,链接如下:
https://blog.csdn.net/zhwyj1019/article/details/80274269