Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problems with database connection after i replaced config file


alwaysstressed

Recommended Posts

Posted

hi all

i was hacked into. I have a backup on my host site and i have a backup on my computor of my database details. The problem is i am sure i have replaced the config file and that is why although i am uploading backup my site will still not read my databse. Could this be the case? i vaguely remember reading about someone doing something similar a couple of years ago. if anyone can help i would be grateful.

Posted

so long as these match the database side then it will connect (providing there is a database there)

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE',' ');

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

so long as these match the database side then it will connect (providing there is a database there)

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE',' ');

 

Nic

thanks i will try that. i will let you know how i get on.

Archived

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

×
×
  • Create New...