If you enable certain MySQL features, you may need to set the SELinux TCP port context for additional ports used by those features. If ports used by MySQL features do not have the correct SELinux context, the features may not function correctly.
Generally, the following method can be used to set the port context for other MySQL features:
View the ports currently enabled for MySQL:
semanage port -l | grep mysqld
If the port used by the MySQL feature is not listed, enable the required port using the following command:
semanage port -a -t mysqld_port_t -p tcp port_number
port_numberis the port number you want to enable.
For information about ports used by MySQL features, refer to the MySQL Port Reference.