mysql端口怎么配置?mysql -u root -pmysql> show global variables like ‘port’; ————— ——- | Variable_name | Value | ————— ——- | port | 3307 | ————— ——- 1 row in set (0.00 sec),我来为大家讲解一下关于mysql端口怎么配置?跟着小编一起来看一看吧!
mysql -u root -p
查询端口号命令:mysql> show global variables like ‘port’; ————— ——- | Variable_name | Value | ————— ——- | port | 3307 | ————— ——- 1 row in set (0.00 sec)