'MySQL server has gone away'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ziycon
    Contributor
    • Sep 2008
    • 384

    #1

    'MySQL server has gone away'

    When i upload a file to a LargeBLOB bigger then 1MB i get 'MySQL server has gone away', how can i resolve this problem?

    I think it may have something to do with:
    Code:
    max_allowed_packet = 1M
    There is so many .ini files in the mySQL folder, which one do i edit or is it even this?
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    Check out what the manual has to say on this.
    It lists a number of possibilities.

    Originally posted by ziycon
    There is so many .ini files in the mySQL folder, which one do i edit or is it even this?
    The configuration file for MySQL is usually called "my.cnf" (on Unix systems) or "my.ini" (on Windows).

    There may be some additional configuration files in the same directory, like "my-small.ini", but they are only templates. You can safely ignore them.

    Comment

    Working...