nykik Posted June 1, 2007 Share Posted June 1, 2007 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 More sharing options...
oschellas Posted June 1, 2007 Share Posted June 1, 2007 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 More sharing options...
nykik Posted June 1, 2007 Author Share Posted June 1, 2007 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 More sharing options...
oschellas Posted June 1, 2007 Share Posted June 1, 2007 Either through your hosting panels filemanager (if you have one) or through FTP (use a FTP client program to download / upload your files). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.