fix: external DB credentials and dbinit for shared MySQL #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/external-db-credentials-and-dbinit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
database.usernamefromhades_usertomysql_userto match the shared MySQL user created by Backstagemysql.enabled=truecondition from dbinit job so SQL migrations run against external/shared MySQL tooProblem
When Backstage deploys hades with
mysql.enabled=false(shared MySQL):hades_userdoesn't exist in sharedmysql-5-7(onlymysql_userexists) → access deniedhades_db→ app crashImpact
mysql.enabled=true): zero impact — helpers usemysql.mysqlUser, ignoringdatabase.*mysql.enabled=false): fixes both access denied and missing tablesTest plan
mysql.enabled=false) — verify dbinit runs and hades startsmysql.enabled=true) — verify no regression