Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9465

Possible bug - General Error SQL ERROR [mysql4]. Can't connect to local MySQL server through socket

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Invalid
    • 3.0.x
    • None
    • Other
    • None
    • PHP Environment:
      Database:

    Description

      Hi.
      I get this error lately and my host (InMotionHosting) says it may be a bug in PhpBB.

      ----------------------------

      General Error
      SQL ERROR [ mysql4 ]

      Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]

      An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
      ------------------------------

      The host said:

      Looking at the example error you have provided, it most likely appears that your forum is unable to open a new database connection. There are several reasons why this may occur though the most common is that existing database connections are not properly closed by the script and are awaiting a timeout. In some cases, this can also be caused by a large number of simultaneous connections.

      Best Regards,
      David D.
      888-321-4678
      NEW: 24x7 EMAIL and PHONE Technical Support
      213-258-4422 (Int'l)

      Attachments

        Activity

          People

            iwisdom iwisdom
            cubicdesign cubicdesign [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: