Documentation Home
MySQL 8.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.1Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


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

8.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.

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