Thush Posted November 12, 2009 Posted November 12, 2009 Hi, I could not access my admin panel and the shop and getting below error message. when Try to access web the error message is Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /home/ddgraphi/public_html/includes/functions/database.php on line 19 Unable to connect to database server! and when its try to loging to admin Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/ddgraphi/public_html/admin/includes/functions/database.php on line 19 Unable to connect to database server! Would appreciate if some one can help with this please! Thanks Thush
freckles Posted November 12, 2009 Posted November 12, 2009 Hi, I could not access my admin panel and the shop and getting below error message. when Try to access web the error message is Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /home/ddgraphi/public_html/includes/functions/database.php on line 19 Unable to connect to database server! and when its try to loging to admin Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/ddgraphi/public_html/admin/includes/functions/database.php on line 19 Unable to connect to database server! Would appreciate if some one can help with this please! Thanks Thush i'm having the exact same problem with my admin folder. i just installed PWA and thought that was the problem, but apparently not. i posted under the PWA forum (http://www.oscommerce.com/forums/topic/40352-purchase-without-account-updated-admin-functionality/page__view__findpost__p__1455741) I have yet to figure out any solution, so any info would help a couple of people.
BryceJr Posted November 12, 2009 Posted November 12, 2009 Look in to your configure.php files and log in to your database server to verify the information.. // define our database connection define('DB_SERVER', 'xxx.xxx.xxx.xx');<- Usually an ip address, path, or localhost. Login to phpmyAdmin to find out or contact your web host. define('DB_SERVER_USERNAME', 'username');<-- This is the username you use to log in to PhpMyAdmin define('DB_SERVER_PASSWORD', 'password');<-- This is the password you use to log in to PhpMyAdmin define('DB_DATABASE', 'database');<- Name of your database define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql');
freckles Posted November 13, 2009 Posted November 13, 2009 Look in to your configure.php files and log in to your database server to verify the information.. // define our database connection define('DB_SERVER', 'xxx.xxx.xxx.xx');<- Usually an ip address, path, or localhost. Login to phpmyAdmin to find out or contact your web host. define('DB_SERVER_USERNAME', 'username');<-- This is the username you use to log in to PhpMyAdmin define('DB_SERVER_PASSWORD', 'password');<-- This is the password you use to log in to PhpMyAdmin define('DB_DATABASE', 'database');<- Name of your database define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); yep, all that info is correct.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.