Appdynamics / Appdynamics/HA-toolkit

save_mysql_passwd.sh needs to add a check so that it could be run only as the appdynamics user

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

For MySQL 5.7, save_mysql_passwd.sh creates .mylogin.cnf and the permissions on this file are 600.
So this script needs to be run as the user that is specified in db.cnf.

Many customers are running this as root, and as appd user cannot read the .mylogin.cnf the logins fail.
This file cannot be made world readable as MySQL would not accept login file that is world readable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.