PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-1-04, 11:30 AM   #1
cincostar
 
Posts: n/a
Unhappy Complete MySQL/osCommerce Newbie

I have never tried using a shopping cart, or MySQL of any sort. I have my osCommerce in place and I have .htaccess and .htpasswd working OK. However, when I try to go to my admin, I get the following message:

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


I created an account with powweb's server at phpMyAdmin 2.5.4 for a database.

I am flying completely in the dark here, and have no idea really how MySQL works in conjuction with osCommerce and phpMyAdmin. I want to know if anyone can point me in the direction of a website that explains how all of this works together so that I can figure out what I am doing wrong and how to fix it.


Thanks for any help.
 
Old 12-1-04, 02:15 PM   #2
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
There is a file catalog/admin/includes/configure.php that tells the osCommerce admin panel the details about your database. It would appear that this information is wrong. You will have to fetch the file, edit it so that it is correct (server name, database name, username and password) and then upload it back to PowWeb. There is a similar file (but not the same contents!) at catalog/includes/configure.php

There is no website that explains "how all of this works together". You don't really need to know much about mySQL to use osCommerce (doesn't hurt, though), but a rudimentary understanding of PHP is essential.
__________________
Steve
stevel is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:09 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.