![]() |
请问如何查看mysql 的端口号?
linux 下 通过netstat -a 来查看
windows下通过查看MySQL安装目录下my.ini文件 或者 进入mysql dos格式 mysql> show variables like 'port'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | port | 3306 | +---------------+-------+ 1 row in set (0.00 sec) |
| All times are GMT +8. The time now is 12:26 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.