The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DBD::mysql::st execute failed

Discussion in 'Database Discussions' started by winlogo, Mar 13, 2010.

  1. winlogo

    winlogo Registered

    Joined:
    Feb 11, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I get this error after update 11.25.

    DBD::mysql::st execute failed: Lost connection to MySQL server during query at /scripts/update_db_cache line 46.
    DBD::mysql::st fetchrow_arrayref failed: fetch() without execute() at /scripts/update_db_cache line 47.

    How can i fix this
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    How much 'max_allowed_packet' and 'wait_timeout' you have set in your my.cnf file?
     
  3. sulnet

    sulnet Member

    Joined:
    Feb 11, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    My error is it:

    DBD::mysql::st execute failed: Lost connection to MySQL server during query at /scripts/update_db_cache line 48.
    DBD::mysql::st fetchrow_arrayref failed: fetch() without execute() at /scripts/update_db_cache line 49.

    my.cnf

    [mysqld]
    set-variable = max_connections=500
    safe-show-database
    local-infile = 0
     
Loading...

Share This Page