By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,100 Members | 1,396 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,100 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
"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"

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.