PDA

View Full Version : Please help with PHP / SQL



alexw
11-15-2005, 11:17 PM
I am new to PHP and am trying to setup a PHP Script on my site. The install.php files prompts me for the following info:

Name/IP of Server:
Name of database:
Login on MySQL Database:
Login to SMTP Server:
Password to SMTP Server:

I put in my site url for the Name/IP. I listed my database name. I listed a users login and password to the db and I get the following error:

Couldn't connect to Server/Host: Access denied for user: '******@mysite.com@voda2.vodahost.com' (Using Password: YES)

It appears that my problem is that it's not resolving to my site but instead tacking my site name onto the the vodahost.com domain. What should I be listing as my Name/IP of server to get this resolve correctly?

Thank you in advance,

Alex

Watdaflip
11-16-2005, 12:11 AM
for name/ip of server type in "localhost"

that should fix your problem

alexw
11-16-2005, 01:31 AM
That's it... thanks!