Mail Can't connect to MySQL server

Discussion in 'Installation/Configuration' started by Sascha833, Jul 17, 2009.

  1. Sascha833

    Sascha833 New Member

    Hi
    If i send an mail i get this error in my logs:
    Code:
    Jul 17 11:35:06 saschas-web postfix/proxymap[9561]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)
    But my db user and pass in the postfix configuration are 100% correct. I also set an # for bind adress 127.0.0.1 in the my.conf
     
  2. falko

    falko Super Moderator

    What's the output of
    Code:
    netstat -tap
    ?
    Which distribution do you use?
     
  3. Sascha833

    Sascha833 New Member

    Now i get "Relay access denied". But can i order postfix to use only 127.0.0.1 for database connections? Because i think remote mysql access is not so good. I use Debain Lenny 64bit
     
    Last edited: Jul 18, 2009
  4. till

    till Super Moderator

    Mysql is using 127.0.0.1 as your error message says, so it is using local connections. But your mysql server blocks this. So please answer falkos question if you want that we are able to help you!
     

Share This Page