Modify the MySQL database port number.

Source: Internet
Author: User

Modify the MySQL database port number.

Modify the configuration file when the database service starts.

First, shut down the Database Service and modify the configuration file: When you modify the configuration file, there are several areas that will involve the port number. You only need to modify the following:


When starting the Database Service, you must connect to the database through 13306. Otherwise, the database cannot be connected.


How can I change the port number of MySql?

You can find this on the Internet.
Find the my. ini file.
Put
Port = 3306 changed

After the Mysql database port number is changed to 3305, codeigniter cannot connect to the database

The port in the configuration file has not been changed
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.