Documentation Home
MySQL 5.6 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 28.9Mb
PDF (A4) - 29.0Mb
PDF (RPM) - 28.0Mb
HTML Download (TGZ) - 7.1Mb
HTML Download (Zip) - 7.2Mb
HTML Download (RPM) - 6.2Mb
Man Pages (TGZ) - 180.4Kb
Man Pages (Zip) - 290.2Kb
Info (Gzip) - 2.8Mb
Info (Zip) - 2.8Mb
Excerpts from this Manual

MySQL 5.6 Reference Manual  /  ...  /  Setting the TCP Port Context for MySQL Features

6.6.5.2 Setting the TCP Port Context for MySQL Features

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:

  1. View the ports currently enabled for MySQL:

    semanage port -l | grep mysqld
  2. 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

    where port_number is the port number you want to enable.

For information about ports used by MySQL features, refer to the MySQL Port Reference.