Quick question concerning the MySQL DB.
I had to move the MySQL DB on a monitoring system to a different folder due to a lack of space (bc the vspheredb module fills up the DB https://github.com/Icinga/icingaweb2-module-vspheredb/issues/73)
So now the Db is in a different folder than /var/lib/mysql.
(Dumb) Question: I move the datadir and socket to the new location.
Why do I need to use the IP address in the resource configureation now and can’t use “localhost” anymore? Is it hardcoded that “localhost” refers to a specific path for the socket?
Or did I just miss some setting?
System is CentOS 7 with Icinga 2.11