Guest zenphilip Posted April 21, 2010 Share Posted April 21, 2010 EDIT:RESOLVED The shop has been up and running for years, but last night I went into my host's mysql configuration and changed the 'Description' to something more meaningful/accurate. I didn't change the dbname or anything like that, only the description. but visiting the site, I get: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dbo234035107'@'212.227.118.8' (using password: YES) in /homepages/14/d115513559/htdocs/zen/classes/db/db.php on line 41 Access denied for user 'dbo234035107'@'212.227.118.8' (using password: YES) looking at file db.php, I see mysql_connect($glob['dbhost'], $glob['dbusername'], $glob['dbpassword']) I would have thought in the place of 'dbhost' etc should be the actual values... so I entered the actual values and uploaded the file, but I then just get another error. Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' What do you think? Thanks Quote Link to comment Share on other sites More sharing options...
Guest zenphilip Posted April 21, 2010 Share Posted April 21, 2010 In which file can I find what password and database name are being used to connect to the database? Maybe that's the key, perhaps I changed the password without knowing it. Quote Link to comment Share on other sites More sharing options...
Guest zenphilip Posted April 21, 2010 Share Posted April 21, 2010 Resolved... just needed to make a change to the includes/global.inc.php file. Quote Link to comment Share on other sites More sharing options...
Guest AspireCreative Posted April 21, 2010 Share Posted April 21, 2010 What did you change as i have the same error? Quote Link to comment Share on other sites More sharing options...
Robsta Posted April 21, 2010 Share Posted April 21, 2010 What did you change as i have the same error?Double check your username, password and database name. Quote Link to comment Share on other sites More sharing options...
Guest zenphilip Posted April 21, 2010 Share Posted April 21, 2010 AC ~ The actual name/user/password of the database didn't match with the values in the global.inc.php file. Quote Link to comment Share on other sites More sharing options...
Guest AspireCreative Posted April 26, 2010 Share Posted April 26, 2010 Well, ive checked the database username and password and its still not working...odd Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.