470,848 Members | 1,751 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

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"

Jul 17 '05 #1
0 1202

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ryan Schefke | last post: by
reply views Thread by Lenz Grimmer | last post: by
7 posts views Thread by Chris | last post: by
23 posts views Thread by JustMe | last post: by
4 posts views Thread by Vanessa | last post: by
12 posts views Thread by mistral | last post: by
reply views Thread by Aahz | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.