Skip to main content

Bug in Synchronize MySQL password checkbox

Comments

5 comments

  • cPanelMichael
    Sometimes you only want to change the cpanel/ftp password and because of the mysql synchronization the website goes down with a "can not connect to database, login/password is invalid" error.

    Hello :) It's advised to utilize a separate database username instead of the cPanel username for databases associated with the account. This ensures a password change is not required when the cPanel account password is changed and it's not synchronized to the MySQL username. Thank you.
    0
  • Carlos Fatureto
    But the usernames are distinct. The cpanel username is only a prefix for mysql users. cpanel account: domain.com cpanel account user: nmpre065 mysql user: nmpre065_mysqluser mysql user2: nmpre065_usr2 If I change the nmpre065's password in the WHM the password of users nmpre065_mysqluser and nmpre065_usr2 will also be changed. The only method to not change all mysql users is uncheck the "synchronize MySQL password checkbox", but this checkbox is hidden. This is the bug. The checkbox should not be hidden.
    0
  • cPanelMichael
    If I change the nmpre065's password in the WHM the password of users nmpre065_mysqluser and nmpre065_usr2 will also be changed.

    Hello :) This is not the default behavior. Have you verified this is the case with a database connection test script? What version of cPanel is installed on this system? Thank you.
    0
  • Carlos Fatureto
    Hi. WHM version 11.48.4 I recorded a video showing what is happening: - Removed -
    0
  • cPanelMichael
    That shows the account password is changed, but that does not indicate the passwords for individual database users associated with the account are changed. For instance, the password for "$username" is changed, but "$username_databaseuser1" is not changed. Thank you.
    0

Please sign in to leave a comment.