Home > Archive > PHP SQL > May 2005 > Newbie question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi,
I new to php and MySQL but I was wondering about a couple of things. Have
access to a site, but all of a sudden I get an error message when trying to
browse the site: " Warning: mysql_pconnect(): Access denied for
user:..................."
I haven't changed anything on this, just looked at the contents.
Could anyone tell what this error is, and why it suddenly appeared?
Regards,
SC
| |
| coolsti 2005-05-01, 9:01 pm |
| On Sat, 30 Apr 2005 11:16:46 +0200, SC wrote:
> Hi,
>
> I new to php and MySQL but I was wondering about a couple of things. Have
> access to a site, but all of a sudden I get an error message when trying to
> browse the site: " Warning: mysql_pconnect(): Access denied for
> user:..................."
>
> I haven't changed anything on this, just looked at the contents.
> Could anyone tell what this error is, and why it suddenly appeared?
>
> Regards,
> SC
It is unclear whether this is a site that you have scripted, and are
trying to browse, or it is someone else's site. In other words, are you
asking about a mistake that you might have made? Or one that someone else
has made and you are just curious about?
The error you see normally will happen when the script author has tried to
connect to mysql using a combination of user name and user password which
does not match with whatever mysql was configured for. Either the user
name, or the password, or both may be wrong. The PHP script which tries to
make the connection will do so by supplying the user and password for
mysql. If these are wrong, you get this error.
|
|
|
|
|