#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    if i telnet into my web host, i can connect to the mysql db server just fine, but using the exact same host, userid, and password in a php script (that does nothing at all except tries to connect), i get an access denied error.

    my webhost says everyone else using it is fine.

    anyone?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    stumbled on a fix:

    the php script works if i specify localhost.localdomain and not just localhost.

    go figure.

Similar Threads

  1. Wanting to make VIN Decoder PHP script. Need help.
    By camarosource in forum PHP Development
    Replies: 0
    Last Post: August 16th, 2003, 10:31 AM
  2. PHP as CGI script & redirection :( !!
    By newbie_pl in forum PHP Development
    Replies: 0
    Last Post: July 26th, 2003, 05:14 PM
  3. Run a PHP script in the 'background'
    By chinook in forum PHP Development
    Replies: 1
    Last Post: February 17th, 2003, 06:34 AM
  4. Getting Cron to execute a php script
    By camcim in forum PHP Development
    Replies: 1
    Last Post: February 14th, 2003, 12:29 AM
  5. Replies: 5
    Last Post: November 20th, 2001, 05:46 PM

IMN logo majestic logo threadwatch logo seochat tools logo