Fixed liferay config for mysql

Now liferay recognise mysql but still not able to connect.
Fixed also iptables several minor problems
Why are these variables different ?