Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 36.5Mb
PDF (A4) - 36.6Mb
PDF (RPM) - 36.7Mb
HTML Download (TGZ) - 10.6Mb
HTML Download (Zip) - 10.6Mb
HTML Download (RPM) - 9.4Mb
Man Pages (TGZ) - 223.2Kb
Man Pages (Zip) - 331.2Kb
Info (Gzip) - 3.3Mb
Info (Zip) - 3.3Mb
Excerpts from this Manual

MySQL 5.7 Reference Manual  /  ...  /  SELinux TCP Port Context

6.7.5 SELinux TCP Port Context

The instructions that follow use the semanage binary to manage port context; on RHEL, it's part of the policycoreutils-python-utils package:

yum install -y policycoreutils-python-utils

After installing the semanage binary, you can list ports defined with the mysqld_port_t context using semanage with the port option.

shell> semanage port -l | grep mysqld
mysqld_port_t                  tcp      1186, 3306, 63132-63164