Hey,

I have tried to get MySQL and postfix to talk to each other on Debian stable.

The problem I have is when Postfix tries to connect to MySQL, it has issues.

Oct 28 15:03:09 sheadoffice-bne postfix/trivial-rewrite[27803]:
warning: connect to mysql server localhost: Can't connect to local
MySQL server throug
h socket '/var/run/mysqld/mysqld.sock' (2)

Oct 28 15:03:09 sheadoffice-bne postfix/trivial-rewrite[27803]: fatal:
mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,100): table lookup
problem

Now I can use the mysql client with the same username and password and
connect successfully. I can also connect successfully using mysql
--socket=/var/run/mysqld/mysqld.sock

I've tried getting postfix to talk via 127.0.0.1 and also the real IP
address of the machine. I've also tried using
'unix:/var/run/mysqld/mysqld.sock' as the "host" in the postfix
virtual mapping.

I'm stumped and very frustrated. Any suggestions?

Kind regards,

Jon
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to