如何查看mysql数据库的端口

 启动,并进入mysql后,输入命令:show global variables like 'port';  如下图所示。

原文地址:https://www.cnblogs.com/Bro-Young/p/5947163.html