Rotation account
The rotation account needs permission to change the target user’s password:- The account itself: A user can change its own password, so it needs no extra privileges
- A different account: The rotation account needs the global
CREATE USERprivilege, orUPDATEon themysqlsystem database
infisical_rotator as the rotation account on the app_user account’s Rotation tab.
How the password is changed
Infisical signs in as the rotation account, using the account’s connection details and SSL settings, and runs:'%' host, so the target user must exist for that host.
PlanetScale
If the database is on PlanetScale, enter the account’s username in the PlanetScale format<username>.<branch-id>. Infisical signs in with the full username and changes the password of <username>.
To find the branch ID, run these commands with the PlanetScale CLI: