Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent Help Need


ashrafzia

Recommended Posts

Posted

I have installed the contribution Option_Type_Feature_1.7.2 by replacing the old files with the new one and now i am having erros in admin section as well as on the site: http://www.moresmodishmass.com

I am having the following error in the admin section : http://www.moresmodishmass.com/admin

 

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

Unable to connect to database server!

 

and this one at the site: http://www.moresmodishmass.com

 

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

Unable to connect to database server!

Posted

Warning: mysql_connect(): Access denied for user: '****@*****' (Using password: *****) in *:\******\www\*****\******\includes\functions\database.php on line 19

Unable to connect to database server!

 

This indicates the wrong username DB_SERVER_USERNAME or password DB_SERVER_PASSWORD information in the configure.php files

 

 

the catalog side has Using password: NO which indicates no DB_SERVER_PASSWORD information in the configure.php file

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

  • 2 weeks later...
Posted

Hi ashrafzia

 

I have the same problem. Please tell me how did you fix it. thank you.

 

Thanx for your reply:

I have fixed the problem :)

Posted
Hi ashrafzia

 

I have the same problem. Please tell me how did you fix it. thank you.

 

Well! simple, just open catalog/admin/include/configure.php and note these lines:

 

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'root');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'os6');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

modify user name, password, database.

else if the problem still exists create new user of the the database and enter that info in the above file.

Posted

Thank you very much, it worked.

 

 

Well! simple, just open catalog/admin/include/configure.php and note these lines:

 

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'root');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'os6');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

modify user name, password, database.

else if the problem still exists create new user of the the database and enter that info in the above file.

Archived

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

×
×
  • Create New...