Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change/Add MySQL port

Discussion in 'General Discussion' started by reactorh, Aug 14, 2006.

  1. reactorh

    reactorh Well-Known Member

    Joined:
    Aug 2, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I need to add a port for MySQL, cause one client cant connect to my mysql server, he said that his corporate proxy settings restrict that..

    Could I add another port to MySQL?

    Thx! :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    as far as im aware you would need to run 2 instances of it (which I dont advise) as it only allows you to configure one port, for the sake of 1 client, I wouldnt burden yourself with the trouble it will bring
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rafaelgp

    rafaelgp Member

    Joined:
    Aug 7, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    You can make a portforward with IPTABLES... Don't ask me how because I don't know...

    If u don't know what I'm talking about, a portforward would be like this:

    ---
    every packet sent to port XXXX will be redirected to port 3306. you just have to choose a port number and tell your costumer to use it in all his connections.
    ---

    Tutorial about Iptables: http://www.netfilter.org/documentation/HOWTO//packet-filtering-HOWTO-7.html#ss7.1



    That's all. I hope I could help you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. reactorh

    reactorh Well-Known Member

    Joined:
    Aug 2, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    Thx for ur help on this issue i will check the iptables redirection it seems the best way!

    Great help on this!! :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rafaelgp

    rafaelgp Member

    Joined:
    Aug 7, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    No problem! Tell me if it worked after try ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice