Please help with PHP / SQL

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • alexw
    Private

    • Nov 2005
    • 2

    Please help with PHP / SQL

    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
    Major General

    • Sep 2005
    • 2116

    #2
    Re: Please help with PHP / SQL

    for name/ip of server type in "localhost"

    that should fix your problem

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • alexw
      Private

      • Nov 2005
      • 2

      #3
      Re: Please help with PHP / SQL

      That's it... thanks!

      Comment

      Working...
      X