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!

FAIL Execute SQL / return code: 256

Discussion in 'Database Discussion' started by jlucho, May 16, 2019.

  1. jlucho

    jlucho Well-Known Member

    Joined:
    Aug 5, 2006
    Messages:
    56
    Likes Received:
    1
    Trophy Points:
    158
    hi guys

    I'm optimizing mysql with "perl /sbin/mysqltuner.pl"

    when executing this script, it generates an alert message

    [!!] FAIL Execute SQL / return code: 256
    [!!] failed to execute: SELECT CONCAT(user, '@', host) FROM mysql.user WHERE IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD('freddy') OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(UPPER('freddy')) OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(CONCAT(UPPER(LEFT('freddy', 1)), SUBSTRING('freddy', 2, LENGTH('freddy'))))

    [!!] FAIL Execute SQL / return code: 256
    [!!] failed to execute: SELECT CONCAT(user, '@', host) FROM mysql.user WHERE IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD('maxwell') OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(UPPER('maxwell')) OR IF(plugin='mysql_native_password', authentication_string, password) = PASSWORD(CONCAT(UPPER(LEFT('maxwell', 1)), SUBSTRING('maxwell', 2, LENGTH('maxwell'))))


    How can this error message be fixed?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,335
    Likes Received:
    2,163
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jlucho,

    Do you notice any specific output to the MySQL error log (e.g. /var/lib/mysql/$hostname.err) when this happens?

    Thank you.
     
    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