./scripts/mysql_install_db: line 249: /app/mysql/bin/my_print_defaults: cannot execute binary file
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
/app/mysql/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
如果在安装mysql是出现这种情况
uname -a
查看一下你的linux系统是32位还是64位。
到官网下载符合自己系统的文件重安装就?了。