开发者社区 问答 正文

mysql 初始化出错

[root@iZ2ze1901ra2gvxe7dff8hZ mysql-5.6.21]# /usr/local/mysql/scripts/mysql_install_db --user=mysql --datadir=/mnt/data/
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.

展开
收起
eeecm 2017-05-24 13:52:52 2570 分享 版权
3 条回答
写回答
取消 提交回答