msarigedik Posted February 4, 2008 Posted February 4, 2008 Hello, I changed my database password and my whole website is down at the moment. Warning: mysql_connect(): Access denied for user 'bikersh_admin'@'ded4.hsservers.com' (using password: YES) in /hsphere/local/home/bikershop/onlinebikershop.com/catalog/includes/functions/database.php on line 19 Unable to connect to database server! I am getting this error even I have configured configure.php Can somebody give any ideas? Thanks a lot.
Bushmaster Posted February 4, 2008 Posted February 4, 2008 Hello, I changed my database password and my whole website is down at the moment. Warning: mysql_connect(): Access denied for user 'bikersh_admin'@'ded4.hsservers.com' (using password: YES) in /hsphere/local/home/bikershop/onlinebikershop.com/catalog/includes/functions/database.php on line 19 Unable to connect to database server! I am getting this error even I have configured configure.php Can somebody give any ideas? Thanks a lot. If your positive your configure.php is right change it again through your host to be sure it took the first time.
msarigedik Posted February 4, 2008 Author Posted February 4, 2008 The only thing I did is changing my db password. This is the original one // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> I tired putting new username and password in the '' but no luck. kind a frustrated!
♥geoffreywalton Posted February 4, 2008 Posted February 4, 2008 There should be an entry in all 3 of these lines in both configure.php files define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'yoursqlusername'); define('DB_SERVER_PASSWORD', 'yourpasswordforsqlusername'); Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Guest Posted February 5, 2008 Posted February 5, 2008 I am getting a similar error when I am trying to install in the first place. Access denied for user '8967_os'@'unlimitedmb.com' (using password: YES) There is no such address at my server as [email protected] It is [email protected] Is there any way to change it to accept it?
♥geoffreywalton Posted February 5, 2008 Posted February 5, 2008 Yes, edit both configure.php files Make sure you are using the mysql user name and password and not an email address. Check under priviliges in phpmyadmin and see what users are set up there. define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'yoursqlusername'); define('DB_SERVER_PASSWORD', 'yourpasswordforsqlusername'); Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Guest Posted February 7, 2008 Posted February 7, 2008 I have now done exactly that. I changed the config.php in both includes and admin/includes I am getting exactly the same error. == Access denied for user '8967_os'@'unlimitedmb.com' (using password: YES) Please verify the connection parameters and try again. == When it asks me at the "database server" screen, I enter the database server (ns1.ulmb.com), the username (8967_os), the password, and the database name (OS) Am I doing something wrong there?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.