Weirdness: Mysql query works fine on Netscape, access denied on IE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raptor

    Weirdness: Mysql query works fine on Netscape, access denied on IE

    The error is the common "access denied to user@localhost on database,"
    or whatever the exact language is. (I email from Linux so can't copy
    the exact wordage right now.) But like I say, it only occurs on IE
    running on the woeful Windows ME. I haven't tried it on another flavor
    of Windows. Netscape works just fine on whatever both OSes I have.

    Here's the code, short and sweet:

    // database variables
    $userName = GetDBUserName() ;
    $password = GetDBPassword() ;
    $dbName = GetDBName();
    $hostName = GetDBHostName() ;

    $db = mysql_pconnect( $hostName, $userName, $password);

    --
    --
    Lynn Wallace http://www.xmission.com/~lawall
    "We should not march into Baghdad. ... Assigning young soldiers to
    a fruitless hunt for a securely entrenched dictator and condemning
    them to fight in what would be an unwinnable urban guerilla war, it
    could only plunge that part of the world into ever greater
    instability." George Bush Sr. in his 1998 book "A World Transformed"

Working...