It's too late for reply, but I got headache searching through webs to solve this, finaly I got ride the problem. Actually the hostname was the main issue, because some of mysql's gave another hostname instead of "localhost", so mine is mydomain.yourwebhostingmysql.com.