修改MySQL資料庫連接埠號碼,mysql資料庫連接埠號碼

來源:互聯網
上載者:User

修改MySQL資料庫連接埠號碼,mysql資料庫連接埠號碼

這裡通過修改資料庫服務啟動時的設定檔來達到修改的目的

,先關閉資料庫服務,修改設定檔:修改的時候有幾個地方會涉及連接埠號碼,只需要改如下的即可


啟動資料庫服務,串連的時候就必須要通過13306來串連了,否則連不上


MySql 怎可以更改連接埠號碼

話說這玩意直接在網上搜尋就能找到吧
找到my.ini檔案。
把[mysqld] 下的
port=3306 改了
 
Mysql資料庫連接埠號碼改為3305後,codeigniter串連不上資料庫

設定檔裡面的連接埠改沒得
 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.