Re: Can't connect to MYSQL server on ... (13)
I figured out the problem.
SELINUX was blocking the MySQL connection.
When I turned off SELINUX, I was able to connect to the remote database.
To fix the problem, the following SELINUX booleans were turned on via the "setsebool" command. When I turned on the "httpd_can_network_connect" on, everything started working.
mysql_connect_any --> on
postgresql_can_rsync --> on
postgresql_selinux_transmit_client_label --> on
postgresql_selinux_unconfined_dbadm --> on
postgresql_selinux_users_ddl --> on
selinuxuser_mysql_connect_enabled --> on
selinuxuser_postgresql_connect_enabled --> on
httpd_can_network_connect = on
Thanks,
Ken
Subject
Written By
Posted
February 07, 2017 11:56AM
February 07, 2017 06:21PM
Re: Can't connect to MYSQL server on ... (13)
February 10, 2017 02:51PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.