Results 1 to 5 of 5

Thread: Switch Ports in XAMPP MYSQL

  1. #1
    Elijah is offline Junior Member
    Join Date
    May 2011
    Posts
    23

    Default Switch Ports in XAMPP MYSQL

    Hi all,

    Want to know how I can change the output port when I install mysql with XAMPP. I want to change the 3307. Awaiting for your response.

    Thanks

  2. #2
    Neel is offline Member
    Join Date
    Mar 2011
    Posts
    50

    Default

    Edit the value to "port" in xampp / mysql / bin / my.ini

  3. #3
    Elijah is offline Junior Member
    Join Date
    May 2011
    Posts
    23

    Default

    Hello,

    Thank you for your response, I found the file and change it

    Code:
    # Password = your_password  
    port             =  3306  --->  3307 
    socket           =  "/ xampp / mysql / mysql.sock"
    and here also

    Code:
    # The MySQL server 
    [ mysqld ] 
    port =  3306  --->  3307 
    socket =  "/ xampp / mysql / mysql.sock"
    After starting the MySQL service, I get this

    Code:
    Mysql start  ( Port 3306 )
    Am I missing Something?

  4. #4
    Neel is offline Member
    Join Date
    Mar 2011
    Posts
    50

    Default

    I forgot a few things. You have to open port in your router and redirect to the ip. Additionally, although not if it affects, find this line # master-port = <port> uncomment and put 3307. Also seeks the line # skip-networking. But beware, you'll have to check all your settings on the clients, in php.ini, phpmyadmin, etc.

  5. #5
    Elijah is offline Junior Member
    Join Date
    May 2011
    Posts
    23

    Default

    I figured our why it do not change, however, I tried without this modification and it worked well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •