linux下mysql 查看默認端口號與修改端口號方法

1、查看默認端口號mysql 一、登陸mysqlsql [root@localhost ~]# mysql -uroot -p Enter password: 輸入數據庫密碼; 數據庫 二、使用show global variables like 'port'; 命令查看端口號,spa mysql> show global variables like 'port'; +-------------
相關文章
相關標籤/搜索