Mysql User and mysql permission owner are changed to mysql. mysql executes scriptsmysql_install_db. the following error occurs: [root @ localhostmysql] # scriptsmysql_install_db -- usermysql -- datadirmydatadatascri... mysqllamplinux
The following problems occur during MySQL compilation and installation.
Install mysql version in vmwarevm of self-built Windows 64-bit system is mysql-5.5.28-linux2.6-x86_64.tar.gz
Mysql User and mysql permission owner are changed to mysql. mysql execute scripts/mysql_install_db. the following error occurs:
[Root @ localhost mysql] # scripts/mysql_install_db -- user = mysql -- datadir =/mydata/data/
Scripts/mysql_install_db: line 249:./bin/my_print_defaults: cannot execute binary file
Neither host 'localhost. localdomain 'nor 'localhost' could be looked up
./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