[MCOL-947] Fix password check in post-mysql-install Created: 2017-09-28  Updated: 2023-10-26  Resolved: 2017-09-28

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.0.11
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: David Hill (Inactive)
Resolution: Duplicate Votes: 0
Labels: None


 Description   

If we look at the code, we can see that post-mysql-install just greps .my.cnf for a password. This is likely to lead to problems in a bunch of scenarios, such as if someone has multiple configuration sections with different passwords defined. See here:

https://github.com/mariadb-corporation/mariadb-columnstore-engine/blob/893cca974df93478050ff23b322a97e5f3a1e78e/oam/install_scripts/post-mysql-install#L13

We should probably make this check more robust. Could it be changed to use my_print_defaults or something?

https://mariadb.com/kb/en/library/my_print_defaults/



 Comments   
Comment by David Hill (Inactive) [ 2017-09-28 ]

MCOL-943

Generated at Thu Feb 08 02:25:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.