Disable firewall and SElinux for Oracle Linux or Red Hat Enterprise Linux

Disable firewall 

Stop the iptables service:
# service iptables stop
service ip6tables stop

Stop the iptables service from starting when you restart the server:
# chkconfig iptables off
chkconfig ip6tables off


Disabling SELinux

To disable SELinux, 

configure SELINUX=disabled in /etc/selinux/config

Reboot your system. After reboot, confirm that the getenforce command returns Disabled.

No comments:

ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%'

 This MySQL error — ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%' — means that MySQL cannot find the user ...