[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix se conectar em banco MySQL



    Pessoal,
 
  Estou reconrendo a lista pois está complicado, não estou conseguindo fazer o meu MTA Postfix se conectar na base MySQL, no log do postfix aparece a seguinte mensagem:
 
 " warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) "
 
  Quando eu testo me conectar ao banco MySQL via Socks eu consigo:
 
 
mysql -D postfix -u postfix -pxxxxxxxxx -S /var/run/mysqld/mysqld.sock
 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 19 to server version: 4.1.11-Debian_4sarge1-log
 
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
 
mysql>
 
    Alguem já passou por isso ?!?
 
 
[]'s Rafael Balbino

Reply to: