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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Database Error

Discussion in 'Database Discussions' started by mickalo, Aug 6, 2015.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    774
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Hello,

    did some searching here but couldn't find an answer. we recently upgraded our Mysql to 5.6 all is going well so far but I have one account, using Perl to connect to database & updated their password from the old style, but keep getting this error:
    Code:
    DbError: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled) 
    
    We have other Perl programs running without any issues. What is the correct fix for this issue?

    Thank you,
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    774
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    I found the problem there is a column setting in the mysql.user table under 'plugin' that had to be changed also so it uses the native password and not the old style password.

    Mike
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page