osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Unable to connect to database server!

This is a discussion on Unable to connect to database server! within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; Just went through the install process ok, I can get to the osCommerce admin page ok and all other options ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-01-2004, 02:32 PM
Lurker
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hondastunter
Default Unable to connect to database server!

Just went through the install process ok, I can get to the osCommerce admin page ok and all other options except when I go to online catalog I get this error -
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2) in _______ .com/catalog/includes/functions/database.php on line 19
Unable to connect to database server!
I went to line 19 of database.php and it says - $$link = mysql_pconnect($server, $username, $password);
} else {
It appears it is trying to call up the server address, username, and password. I was wondering if this is a simple fix or where in the file manager this information is kept so I can check to make sure it is correct.
Any help would be greatly appreciated. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 10-12-2004, 07:37 PM
Lurker
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hondastunter
Default

I did find on the Admin Control Panel under the tools section an option (server info) it appears that the information for the server is not correct. Does anyone know how to edit in that field? Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-13-2004, 07:14 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Just edit the catalog/includes/configure.php database info to match the catalog/admin/includes/configure.php database info. That will fix it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Unable to connect to database server! zododo osCMax v1.7 Discussion 0 06-22-2006 12:33 AM
Can't connect to MySQL server on '207.44.142.34' (111)??? currie_muncher osCommerce 2.2 Installation Help 2 05-19-2005 09:08 PM
Changed configure.php, now "unable to connect to db ser wildgoddess osCommerce 2.2 Installation Help 3 04-25-2004 12:54 AM
unable to connect on localhost (10055) EPierre osCMax v1.7 Discussion 3 02-09-2004 10:22 PM


All times are GMT -8. The time now is 04:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax