zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

mysql查看端口

mysql 查看 端口
2023-09-14 09:11:32 时间

在你的my.ini(Windows)或my.cfg(Linux) 中就有啊。

或者如果已经连入MySQL可以直接 

SQL code
?
1
2
3
4
5
6
7
8
9
mysql> show variables like 'port';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| port          | 3306  |
+---------------+-------+
1 row in set (0.00 sec)
 
mysql>