I was installing the latest MySQL 5.5.4 on a new machine and I came across the following issues during installation, steps I generally perform on other versions without any incidents.
$ sudo su - $ cd /opt $ wget http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.4-m3-linux2.6-x86_64.tar.gz/from/http://mysql.mirrors.hoobly.com/ $ tar xvfz mysql-5.5.4-m3-linux2.6-x86_64.tar.gz $ cd mysql-5.5.4-m3-linux2.6-x86_64 $ scripts/mysql_install_db Neither host 'barney' nor 'localhost' could be looked up with /usr/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
Perform some checks
$ /usr/bin/resolveip -su: /usr/bin/resolveip: No such file or directory $ hostname barney $ head -2 /etc/hosts 127.0.0.1 localhost 127.0.1.1 barney
I was surprised to find that my Ubuntu 10.04 Lucid Lynx box had a …
[Read more]