PDA

View Full Version : HELP Please!


BeGee
9-18-03, 09:15 AM
I'm a total newbie to php! Am trying to install osCommerce. Corrected some minor errors that were reported during the installation process, but now I've hit a wall! When trying to access the admin page I get the following error:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /www/t/tennesseehalp/htdocs/catalog/admin/includes/functions/database.php on line 19
Unable to connect to database server!

Is there some place that I was suppose to edit and tell the program what my database name is? I setup MySQL and data base name during the initial phase of the installation process.

Any help is appreciated...

BeGee

stevel
9-18-03, 12:19 PM
Yes - there are two configure.php files, one under admin/includes and another under catalog/includes. Both of these contain the SQL database info definitions towards the bottom. Now the install should have set these properly, but it may not have...

BeGee
9-19-03, 07:50 AM
Thanks Stevel..

It appears that the program did not configure the 'configure.php' file in the admin/includes folder. I made some changes and it now appears that I'm at the next step since I didn't get the error message.

We'll see what happens from here.

I'm sure I will be back here again.

Thanks again.... BeGee