MySQL Database Server Setup
This is a guide to setting up a MySQL database server in a LXC container.
LXC Container Configuration
After you have the container created and the appropriate network interface configured, you need to make sure that the UDP/TCP ports are allowed through your firewall so clients can send queries to the DNS server.
- Install mysql and the necessary sub-components
apt-get install nano nmap mysql dnsutils
- This will also install the mysql client
- In order to accept all connections via IPv6 and IPv4 edit the line labelled
bind-addressand set it to
# # Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. bind-address = ::
service mysql restart