Dedicated Servers
Managed Dedicated Servers
Semi-Dedicated Hosting
Cheap Dedicated Servers
Hyper-V VPS Hosting
Hyper-V Virtual Private Servers
Linux VPS Hosting
VPS Hosting with Root Access
Windows VPS Hosting
Windows VPS Web Hosting
Reseller Hosting
Reseller Hosting India
cPanel Shared Hosting
Linux Shared Web Hosting
Windows Hosting
Windows Shared Web Hosting
Web Hosting Blog
Web Hosting Blog India
Hosting Knowledgebase
Web Hosting Knowledgebase




  #1 (permalink)  
Old 06-26-2005, 10:14 PM
host.co.in's Avatar
System Administrator
 
Join Date: Jan 2005
Location: Nashik,India
Posts: 24
Send a message via ICQ to host.co.in Send a message via AIM to host.co.in Send a message via MSN to host.co.in Send a message via Yahoo to host.co.in
Default Database Error...!

I have transferred one account from one old server to a new server and now I am getting Database Error when i check oscommerce section of site of the customer. Tell me all 3 possible solutions to troubleshoot this problem and make his oscommerce work as it was working on old server.
Reply With Quote
  #2 (permalink)  
Old 07-01-2005, 01:36 AM
Junior Member
 
Join Date: May 2005
Posts: 6
Talking

In this case all the database related issues have to be checked.

1. Temp partition should not be full.

2. The files where the error is getting have to be checked for ownership(mysql.mysql) and permission(700).

3. Should be used mysql_connect() instead of mysql_pconnect().

4. The file which set Mysql connections has to be checked for dbuser, dbpass, dbname etc.

5. If accessing database remotely then add % sign in cpanel>>mysql>>access hosts.

6. Restarting mysql service.

Reply With Quote
  #3 (permalink)  
Old 04-04-2006, 02:24 AM
Junior Member
 
Join Date: Nov 2005
Posts: 23
Default

Also check following..

1. In the configuration.php or whatever config file in the home directory or wherever it is located change the absolute path for the oscommerce directory.
change the absolute_path field given is correct location or not as the username if changed then the path will also be changed.
2. Assign the user to database. from cpanel >> Mysql database >> Add user to database.
3. Try deleting the priviledges and the user ( if you know the password of that user then only from the configfile). Recreate the uer and assign epriviledges to the user.
3 Other solution will depend on the type of error that you are getting.

All te best..
Jayesh Mahajan.

---------------------------------------------------------------
Never Never Never NEVER GIVE UP. ..
---------------------------------------------------------------
Reply With Quote
Reply

Bookmarks
Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 01:51 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0