如何查看mysql 默認端口號和修改端口號

1. 登陸mysql [root@test /]# mysql -u root -p Enter password: 2. 使用命令show global variables like 'port';查看端口號 mysql> show global variables like 'port'; +---------------+-------+ | Variable_
相關文章
相關標籤/搜索