Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageOn 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 t o > 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.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.