求助在linux中安装mysql 时执行scripts/mysql_install_db --user=mysql 时出错。错误如下: 10
scripts/mysql_install_db:line244:./bin/my_print_defaults:cannotexecutebinaryfileNeith...
scripts/mysql_install_db: line 244: ./bin/my_print_defaults: cannot execute binary file
Neither host 'heping' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
/etc/hosts 文件配置没错,执行scripts/mysql_install_db --force --user=mysql 也有错。 展开
Neither host 'heping' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
/etc/hosts 文件配置没错,执行scripts/mysql_install_db --force --user=mysql 也有错。 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询