Results 1 to 10 of 10

Thread: Random database error !

  1. #1
    jujuba
    Guest

    Exclamation Random database error !

    Hi, I am using Dolphin 5.3 and my site works fine, well at least sometimes..

    The problem is that I'm randomly getting a Database Activation Failed error throughout my site. One minute my site works just fine and another minute there is a red box on the screen that says Database Activation Error, not Database Access Error.
    I did put a trap for mysql_error() to see what is causing the problem and it says "Access denied for nobody@localhost, using password = no.

    I thought that maybe the script is not reading the username and password from header file so I have also trapped the db user and password variables to see if they are correct at the time of the error and they all seem fine too.

    I did read about the maximum connected users and about changing pconnect to connect. I am not sure if this is causing the problem, since I am currently developing the site, so there are no other users than me. The max concurrent users allowed on my server is 30 and maximum connections is 650. During the error when I check the Active Persistent Links and Active Link on mysql server it shows only 2.

    I have tried using connect instead of pconnect to be sure but the problem stays the same. One minute its working fine and then Error, and after some time its alright again.

    Any help will be appriciated...
    Thanks
    Last edited by jujuba; 11-15-2006 at 10:38 AM.

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Is your mysql server overloaded?

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3
    jujuba
    Guest

    Default

    Well the mysql server traffic as of today shows :

    Traffic......................ø per hour
    Received 3,631 MiB.....157 MiB
    Sent 3,940 MiB...........171 MiB
    Total 7,571 MiB..........328 MiB

    Connections....................................... .ø per hour...........%
    max. concurrent connections....370.........---....................---
    Failed attempts......................9,157......396.98... ............4.07%
    Aborted................................78......... .3.38...................0.03%
    Total....................................225 k......9,754.76.............100.00%

    There is only one db on the server and it is dolphin.
    Last edited by jujuba; 11-16-2006 at 04:05 AM.

  4. #4
    birkenstam's Avatar
    Join Date
    Mar 2006
    Posts
    205

    Default

    I had the same problem, i disabled IM and then it was ok.

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    and is the mysql server local - that is - on the same server as apache?

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6
    jujuba
    Guest

    Default

    It is hosted on hostforweb.

  7. #7
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I understand - but on the same physical server?

    The apache server does not connect to ANOTHER server running mysql?

    Your HOST variable in header.inc.php is "localhost"?

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  8. #8
    jujuba
    Guest

    Default

    Quote Originally Posted by Smoge
    I understand - but on the same physical server?

    The apache server does not connect to ANOTHER server running mysql?

    Your HOST variable in header.inc.php is "localhost"?

    Smoge

    Oh, yes they are on the same server. Host variable is localhost.

  9. #9
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Well - then something strange is going on... I don't have any other ideas to ask/tell you - I would need to look at the server/installation to fix it.

    If this is something you are interested in - send me a PM.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  10. #10
    jujuba
    Guest

    Default

    thanks for the help, I still don't know what was causing the error. I didn't change anything but somehow it seems to be working fine now.

    I have asked the hostforweb support about the errors I have been getting and they have told me that they have been doing some changes on the dns of my server. Maybe that was the problem

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. database error
    By lambs in forum General Troubleshooting
    Replies: 2
    Last Post: 03-02-2009, 01:34 PM
  2. Database access error after database upload
    By sanne in forum Database
    Replies: 1
    Last Post: 06-03-2007, 06:49 AM
  3. database error
    By damo2550 in forum General Troubleshooting
    Replies: 1
    Last Post: 03-14-2007, 08:43 AM
  4. Database Error
    By DiabloD in forum Database
    Replies: 2
    Last Post: 12-26-2006, 09:59 AM
  5. Database Error
    By jholzy in forum General Troubleshooting
    Replies: 1
    Last Post: 08-16-2005, 07:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •