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:
    765
    Likes Received:
    2
    Trophy Points:
    18
    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:
    765
    Likes Received:
    2
    Trophy Points:
    18
    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:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page