Horde to connect to Mysql through sockets, not networking, to let servers skip networking
For a long time we had Horde working, connecting with Mysql with an /etc/my.cnf with skip-networking , but in late versions Horde demands Mysql to be accessible through local networking.
Here is the fix, but I don't want to do it and then have an upgrade overwrite it, but have it standard in Cpanel...
# vim /usr/local/cpanel/base/horde/config/conf.php
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['port'] = 3306;
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['socket'] = '/tmp/mysql.sock';
Please, please. I want to have skip-networking in /etc/my.conf to prevent outside strangers from poking the Mysql ports.