Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sql & Php Instal Disabled Osc Site


nykik

Recommended Posts

HEEEEEELP! After enabling the phpmyadmin and my sql, my site gives this error message

 

Warning: mysql_connect(): Access denied for user: '[email protected]@207.155.248.14' (Using password: YES) in /web/osc/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

I can't log in to my osc admin at all.

 

Anyone out there, please help!

Link to comment
Share on other sites

You probably didn't specify the correct mysql data in:

osc/includes/configure.php

osc/admin/includes/configure.php

 

It should look something like this:

  define('DB_SERVER', 'localhost'); //localhost will be used at most servers!!
 define('DB_SERVER_USERNAME', 'mysqlusername'); //your mysql username
 define('DB_SERVER_PASSWORD', 'mysqlpassword'); //your mysql password
 define('DB_DATABASE', 'mydatabasename'); //your database name
 define('USE_PCONNECT', 'false'); //leave to false
 define('STORE_SESSIONS', 'mysql'); //store sessions in mysql

Link to comment
Share on other sites

You probably didn't specify the correct mysql data in:

osc/includes/configure.php

osc/admin/includes/configure.php

 

It should look something like this:

  define('DB_SERVER', 'localhost'); //localhost will be used at most servers!!
 define('DB_SERVER_USERNAME', 'mysqlusername'); //your mysql username
 define('DB_SERVER_PASSWORD', 'mysqlpassword'); //your mysql password
 define('DB_DATABASE', 'mydatabasename'); //your database name
 define('USE_PCONNECT', 'false'); //leave to false
 define('STORE_SESSIONS', 'mysql'); //store sessions in mysql

 

If I'm unable to get into my osc admin, where would I try to change the configuration?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...