Sollte der Postfix meckern:

Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’

editiere man die /etc/mysql/debian-start

echo “Linking mysqld.sock to the postfix-jail.”
if [ -x /var/spool/postfix/var/run/mysqld/mysqld.sock ] ; then
rm /var/spool/postfix/var/run/mysqld/mysqld.sock
fi
ln /var/run/mysqld/mysqld.sock /var/spool/postfix/var/run/mysqld/mysqld.sock