Hello,
Need some help please. I am trying to get a WebServer up and want MySQL in it's own jail. (This will only be accessible on the 10.0.x.x LAN.)
I created the jail by
I am able to enter the jail just fine and configured the necessary files so it is able to access the Internet for installing ports.
MySQL Server appears to have installed properly
The problem comes to be when I try to access MySQL I get an error (both internally within the jail and from a webserver on the same subnet):
I tried the google search bit and read through several posts and have not been able to find a solution.
Could someone be so kind to offer some thoughts?
Thanks.
Steven
Need some help please. I am trying to get a WebServer up and want MySQL in it's own jail. (This will only be accessible on the 10.0.x.x LAN.)
I created the jail by
Code:
ezjail-admin create -r mysql_jail mysql.MYDOMAIN.com 10.0.1.2
I am able to enter the jail just fine and configured the necessary files so it is able to access the Internet for installing ports.
MySQL Server appears to have installed properly
Code:
# cd /usr/local/ports/databases/mysql-server55
# make install
The problem comes to be when I try to access MySQL I get an error (both internally within the jail and from a webserver on the same subnet):
Code:
# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I tried the google search bit and read through several posts and have not been able to find a solution.
Could someone be so kind to offer some thoughts?
Thanks.
Steven