Having problems with php database connection

HI,

I am trying to fix this error on my companies website- www.newportstorm.com. We are a brewery in Newport. The first page of age verification works but after you enter your date of birth the next page reads the following-

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user ‘newportstorm’@‘173.201.196.206’ (using password: YES) in /home/content/31/6949531/html/Connections/NewportStorm.php on line 7

Fatal error: Access denied for user ‘newportstorm’@‘173.201.196.206’ (using password: YES) in /home/content/31/6949531/html/Connections/NewportStorm.php on line 7

I tried seeking help from our webhost GoDaddy but they informed me it is a php database connection error. Does anyone have advice on how I can fix this? We cannot get in touch with the original coder of our website.

If you can show us the source code of NewportStorm.php (minus the username/password information) then someone here probably can help you out. If you can, you might also check the MySQL database (table) to see if it’s still valid?

An I’m no expert when it comes to this, but to me it looks like something could be wrong with the .htaccess file. However, someone other than me might be able to tell if I’m correct or not in thinking this way.

That error is from Mysql. The username and/or password are not correct.

Sponsor our Newsletter | Privacy Policy | Terms of Service