I installed mysql on my MAC OS X, but when I tried to run the mysql_install_db, It gave me the following message
scripts/mysql_install_db: line 244: ./bin/my_print_defaults: Bad CPU type in executable
Neither host 'IP.client23.directonpc.net' 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
scripts/mysql_install_db: line 244: ./bin/my_print_defaults: Bad CPU type in executable
Neither host 'IP.client23.directonpc.net' 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