查看本地服務器MYSQL的端口號

進入mysql後,輸入命令:show global variables like 'port'; mysql 具體以下:sql ~$ mysql Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 10 Server version: 5.7.20-0ubuntu0.16.04.
相關文章
相關標籤/搜索