julie_smith123 Posted May 21, 2003 Posted May 21, 2003 Ive installed my catalog and it works fine now (it took a while, with alot of help from you guys) Recently I also installed a forum and I think I changed the password on mysql database Now each time I try and connect to athe admin pages I get : Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/home/httpd/vhtdocs/xdvdr/catalog/admin/includes/functions/database.php on line 19 Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/home/httpd/vhtdocs/xdvdr/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! But the catalog pages work finw. I assume this is happening because of the password change. How can I change password in my oscommerce admin directory ?
mattice Posted May 21, 2003 Posted May 21, 2003 admin/includes/configure.php contains the user / pass for mysql change them accordingly. Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
julie_smith123 Posted May 21, 2003 Author Posted May 21, 2003 Ive just checked and the password is correct. WHy am I getting this error all of a sudden ??
topher2u2 Posted June 8, 2003 Posted June 8, 2003 I had the same issue and found that I also needed to edit admin/includes/configure.php. Once I changed my password in this file I was able to access admin again. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.