Topic: hostname issue with mysql install
I installed mysql with remi repo
yum --enablerepo=remi install mysql mysql-server
When i start mysqld with service mysqld start i get the following message
Initializing MySQL database: Neither host 'sv1.servergreek.com' 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
/etc/hosts
# Generated by SolusVM
127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain
167.88.125.157 sv1.servergreek.com sv1
2604:180:1::dc20:6b73 sv1.servergreek.com sv1
[root@sv1 ~]# hostname
sv1.servergreek.com
[root@sv1 ~]# hostname -f
hostname: Unknown host
Generated by SolusVM
NETWORKING=yes
NETWORKING_IPV6=yes
IPV6_AUTOCONF=no
HOSTNAME=sv1.servergreek.com
Thanks for the help in advance remi