Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: mysql_connect()


in_out

Recommended Posts

Posted

Hi all !

 

I've some problems after installing OSCOMMERCE in my site.

Yesterday it was working correctly but today if i try to enter my store it shows this message to me ! ...

WHY ?????? ... its possible that someone entered my database or changed it ??

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'XXXX'@'localhost' (using password: YES) in /home/XXXX/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

ANY SOLUTIONS ?

 

THANK YOU !!

Posted

In catalog/includes/configure.php make sure the settings under " // define our database connection " are correct.

 

Then click the Security link below and read through taht.

Posted

In catalog/includes/configure.php make sure the settings under " // define our database connection " are correct.

 

Then click the Security link below and read through taht.

 

Thanks ... that was the solution !!!

im a little bit paranoid with my web ...someone sent me an email telling me he wants my domain name and after that

any error that gives my website i think its the person who sent me that email ... ;-P

 

Thank you...

i'll check all links to learn more ...

Posted

I am facing the same error. I have checked the configure.php. It is fine.

Also, to add on, my site was hacked few days back. I have got the whole thing cleaned and trying to do setup again using an old backup.

 

Please help.

 

 

 

Hi all !

 

I've some problems after installing OSCOMMERCE in my site.

Yesterday it was working correctly but today if i try to enter my store it shows this message to me ! ...

WHY ?????? ... its possible that someone entered my database or changed it ??

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'XXXX'@'localhost' (using password: YES) in /home/XXXX/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

ANY SOLUTIONS ?

 

THANK YOU !!

Posted

In the includes FOLDER (catalog and admin) where the normal configure.php files are there is a FOLDER named local

 

On some installs there may be a configure.php inside the local FOLDER (catalog and admin)

 

If there is, anything in it overrides anything in the normal configure.php files.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...