Thanks DebbieS, I solved the problem.. you have to allow an external server, your domain IP , to access the MySQL database even though you are on the same hosting server or it uses the internal host address and gives that error msg. I have a connect string added in index.php .. not sure if I...