MYSQL in ClearOS für ein Subnetz freischalten


:!: Achtung, sehr alter Beitrag

nano /usr/share/system-mysql/etc/my.cnf

[mysqld]
datadir=/var/lib/system-mysql
socket=/var/lib/system-mysql/mysql.sock
bind-address=172.18.20.0/24
port=3308
max_allowed_packet=32M

[mysqld_safe]
log-error=/var/log/system-mysql/mysqld.log
pid-file=/var/run/system-mysqld/system-mysqld.pid
user=system-mysql
mysqld=system-mysqld
/etc/init.d/mysqld restart