1. 程式人生 > >linux修改mysql默認端口

linux修改mysql默認端口

mysql 默認端口 linux

vi /etc/my.cnf
技術分享圖片
將這個port位置修改為你想修改的默認端口
修改完之後,重啟一下mysql服務,ok

linux修改mysql默認端口