yeah i did it...but i have a doubt which password i have to use to connect mysql i used my domain password
i used it as
mysql_connect("ip add of my domain","domain username","domain password");
............
but it didn't worked.
i couldn't figure it out whats going wrong
thanks