|
Prev: Help charset
Next: Email backup
From: E-Star on 30 Apr 2007 06:27 After a clean install install of Debian postfix worked, but I can not get it to work with MySQL. I installed: mysql-client and mysql-server php4-mysql I modified main.cf like many websites suggested, however my logs are showing (/var/log/mail.log): warning: connect to mysql server localhost: Can't connect to local MySQL server through socket 'var'run/mysqld/mysqld.sock' Any ideas where to start looking? It's a postfix <-> MySQL problem since Postfix worked after install using hash lookups.
From: E-Star on 30 Apr 2007 20:28 E-Star <unix_core(a)linuxmail.org> wrote: > After a clean install install of Debian postfix worked, but I can not > get it to work with MySQL. > > I installed: mysql-client and mysql-server php4-mysql > > I modified main.cf like many websites suggested, however my logs are > showing (/var/log/mail.log): > > warning: connect to mysql server localhost: Can't connect to local MySQL > server through socket 'var'run/mysqld/mysqld.sock' > > Any ideas where to start looking? It's a postfix <-> MySQL problem > since Postfix worked after install using hash lookups. After much searching I finally found a solution. In my .cf files I had to chang the host value from localhost to 127.0.0.1. I dont' exactly understand the difference how each work but it solved the problem.
|
Pages: 1 Prev: Help charset Next: Email backup |