Problems uploading larger files - Error MySQL server has gone away

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Restless_ca
    New Member
    • May 2003
    • 6

    Problems uploading larger files - Error MySQL server has gone away

    I'm getting the error:
    MySQL Error : MySQL server has gone away
    Error Number : 2006
    Date : Tuesday, May 16th 2006 @ 01:11:53 PM
    Script : http://myforum/newattachment.php
    Referrer : http://myforum/newattachment.php?f=3...77484254bd1aab
    IP Address :
    Username : Joe
    Classname : vB_Database

    When uploading larger files, 1M or so. I've set all the PHP and MySQL settings I know of to support this but I'm getting this message. The PHP code is encoding the file properly and the query is created but the MySQL server doesn't seem to be there when the PHP script is ready to send it to the database.

    Any suggestions?
  • Lats
    Senior Member
    • Mar 2002
    • 3671

    #2
    If you're storing large files in the database, I would suggest moving them to the file system.

    The error means mysql timed-out.
    Lats...

    Comment

    • Restless_ca
      New Member
      • May 2003
      • 6

      #3
      How do I get vBulletin to store the attachments as files rather than as blobs in the DB?

      Comment

      • Lats
        Senior Member
        • Mar 2002
        • 3671

        #4
        ACP -> Attachments -> Attachment Storage Type

        Docs are here...
        Lats...

        Comment

        • Restless_ca
          New Member
          • May 2003
          • 6

          #5
          Thanks, got it working now.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...