MySQL [ERROR] Can't start server: Bind on TCP/IP port: Permission denied
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCQ9Kw4NVOc7oVMhbSHpA_c6aGyfFAUVJZdtJ5-TB7z0sbVZMCV4Ke5g3Sb2i0oNsXEVYQYLa8FxOUEoqHzpSFLtgkNO4QSr1BGIeduIvatpoMHnCdoJOKXvtqaqMMimngMMDWkjlc53RE/s320/selinux_meme.jpg)
Below is the error when I am trying to change the port of a MySQL server from 3306 to 3308. MySQL [ERROR] Can't start server: Bind on TCP/IP port: Permission denied [ERROR] Do you already have another mysqld server running on port: 3308? I have not seen any MySQL instance already running with port 3308 . After doing some troubleshooting i found that SELinux enabled on my server which is blocking this non-standard MySQL port 3308. root@slave.1 $ cat /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=enforcing # SELINUXTYPE= can take one of three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Le