MySQL modifies the default port number, modifies the port number of the My.ini

Source: Internet
Author: User

MySQL default port number is 3306, if install multiple or conflict need to modify the port number, modify the port number of the My.ini, the file is normally under the installation directory. Here are the specific instructions:

Method/Step
  1. Stop the MySQL server in the service first, then find the My.ini file under the MySQL installation directory and replace the port number 3306 with the other port number.

  2. Modify the following two places: [Client]

    port=3306

    [Mysqld]

    # The TCP/IP Port the MySQL Server would listen onport=3306

  3. 3

    If the hint can not be modified may need to be related software and services to stop first, Win7 may be opened as an administrator, modified to restart the service before the effect.

MySQL modifies the default port number, modifies the port number of the My.ini

Related Article

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.