I have come across a question recently. I am presenting that here.
If you have any idea and suggetion, please feel free to feed it here.
We connect to mysql from php. Normally both php and mysql running in same machine. Sometime mysql running is some othere server. We connect to sam