安装mysql-5.5.10初始库出现:Could not find ./bin/my_print_defaults 的解决方法
FATAL ERROR: Could not find ./bin/my_print_defaults
修改:
basedir="/usr/local/mysql"
builddir="/root/software/mysql-5.5.9"
FATAL ERROR: Could not find ./bin/my_print_defaults
If you are using a binary release, you must run this script from
within the directory the archive extracted into. If you compiled
MySQL yourself you must run 'make install' first.
/usr/local/webserver/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/webserver/mysql --datadir=/usr/local/webserver/mysql/data
修改:
basedir="/usr/local/mysql"
builddir="/root/software/mysql-5.5.9"
FATAL ERROR: Could not find ./bin/my_print_defaults
If you are using a binary release, you must run this script from
within the directory the archive extracted into. If you compiled
MySQL yourself you must run 'make install' first.
/usr/local/webserver/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/webserver/mysql --datadir=/usr/local/webserver/mysql/data
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/4154/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表