查看mysql端口号命令


1. show global variables like 'port';