Virtual Users and Domains.... bind-address problem

Discussion in 'HOWTO-Related Questions' started by [email protected], Oct 16, 2009.

  1. leif@harmsen.net

    [email protected] New Member

    I'm determined to make this work but have hit a snag where it says to
    edit etc/mysql/my.cnf to include this line...

    [...]
    bind-address = 127.0.0.1
    [...]

    When I change my bind-address to this all of my apache websites loose their connection to my MySQL server and completely fail until I change it back to the original 0.0.0.0

    What gives? How can I both follow the tutorial and keep my websites connected to their databases? There must be a way to have both my mail server and web server work at the same time. Anyone? Help!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Comment out the
    Code:
    bind-address = 127.0.0.1
    line and restart MySQL.
     
  3. leif@harmsen.net

    [email protected] New Member

    I had restarted.

    So, I don't need any bind-address at all? And your tutorial will still work?
     
    Last edited: Oct 17, 2009
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, that's true.
     

Share This Page