|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Posts: n/a
|
HELP Please!
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 |
|
|
#2 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
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...
__________________
Steve |
|
|
|
|
#3 |
|
Posts: n/a
|
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 |
![]() |
| Thread Tools | Search this Thread |
|
|