It happened again ... today I did ispconfig update and server ip address changed to 128.0.0.1 instead of 127.0.0.1 same was refleccted in .cf files in postfix directory hence it was not able to connect to mysql server