Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using root user for DB connection #76

Open
Barteus opened this issue Dec 8, 2022 · 1 comment
Open

Avoid using root user for DB connection #76

Barteus opened this issue Dec 8, 2022 · 1 comment
Labels
23.10 Should be fixed by 23.10 bug Something isn't working

Comments

@Barteus
Copy link
Contributor

Barteus commented Dec 8, 2022

The user for MySQL connection is hardcoded as root. In the same relation, a user was created called mysql. Using root users for connections is not a good practice.

    related-units:
      mlflow-db/0:
        in-scope: true
        data:
          database: database
          egress-subnets: 100.98.244.78/32
          host: 100.98.244.78
          ingress-address: 100.98.244.78
          password: password
          port: "3306"
          private-address: 100.98.244.78
          root_password: root
          user: mysql

"MLFLOW_TRACKING_URI": f"mysql+pymysql://root:{mysql['root_password']}@{mysql['host']}"

@i-chvets i-chvets added the bug Something isn't working label Jan 4, 2023
@DnPlas DnPlas added the 23.10 Should be fixed by 23.10 label May 2, 2023
@misohu
Copy link
Member

misohu commented May 2, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
23.10 Should be fixed by 23.10 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants