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.

MySQL user pass not recognized after upgrade php to 5.4

Discussion in 'Database Discussions' started by cosmin, Feb 1, 2014.

  1. cosmin

    cosmin Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucuresti
    Hello!

    I upgrade php to 5.4 for all servers and many many sites can't connect to mysql becouse mysql's user didn't recognize the password.

    If I’m going in WHM/Change MySQL User password and I change the pass for user “cpaneluser_user” with the same password will work, can connect to MySQL. Without this password reset didn’t work and I receive "Error establishing a database connection".

    Any help please?

    Thank you!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    What version of MySQL is installed on your system? Do you have an entry for "old_passwords" in your /etc/my.cnf file? Were these MySQL passwords originally created on a MySQL environment prior to 4.1?

    Thank you.
     
Loading...

Share This Page