Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I changed MySQL default port from 3306 to 12929 in my.cnf in both client and mysqld sections on Debian.
After that I restarted MySQL service. Then I ran netstat -tln and saw that MySQL is still listening at port 3306.
Why is that?
netstat -tln | grep -i mysql
find / -name my.cnf
netstat -tlnp | grep -i mysql
Required, but never shown