jbb Posted February 10, 2005 Share Posted February 10, 2005 I have installed osCommerce and dealt with the error messages at the top. When I try to access the admin page I get the following message: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in ......./admin/includes/functions/database.php on line 19 Unable to connect to database server! What is going on here? Link to comment Share on other sites More sharing options...
ArtRat Posted February 10, 2005 Share Posted February 10, 2005 ...What is going on here? <{POST_SNAPBACK}> you havent read the knowledge base knowledge base - common problems Link to comment Share on other sites More sharing options...
charles Posted February 10, 2005 Share Posted February 10, 2005 Admin has its own configure.php, did you set the database defines in it? Admin/includes/configure.php charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
jbb Posted February 10, 2005 Author Share Posted February 10, 2005 Thanks for the replies I did come across the the information about this in the knowledge base, but had 2 problems. 1. I am a complete noob and I had no idea what I was doing. 2. I see this message in my host 'SSH manager': "Your hosting plan's limits do not allow SSH service to be added. Please refer to the 'Account Usage' table." -does this mean I can't do these kinds of checks? (I am using freestarthost.com for testing). I checked the defines in admin/includes/config.php as suggested. I had to put in hostname, db name, password, etc.. Shouldn't this have automatically generated when I installed? I assume I have to set permissions to 400 on this file now? Now I am getting to the admin page, but I still need to figure out why I get dumped to my host account admin tools when I click on anything.... Link to comment Share on other sites More sharing options...
♥Vger Posted February 10, 2005 Share Posted February 10, 2005 Agh! Lightbulb ignites!! I think what's happening is that your 'admin' folder is still named 'admin', and access to your web hosting control panel is also via /admin You need to FTP to your website and rename the osCommerce 'admin' folder (you should do this anyway), and then go to admin/includes/configure.php and change file pathways to /admin/ to /newname/ Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.