Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DBD::mysql::st execute failed

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

  1. winlogo

    winlogo Registered

    Joined:
    Feb 11, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    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:
    68
    How much 'max_allowed_packet' and 'wait_timeout' you have set in your my.cnf file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sulnet

    sulnet Member

    Joined:
    Feb 11, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice