The default port is 3306. We can change it in
/etc/MySQL/my.conf there is a port variable. We can update this port according to our need.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.