Bug #108026 How to create additionnal MySQL users during cluster initialization ?
Submitted: 29 Jul 2022 8:04 Modified: 1 Aug 2022 18:59
Reporter: Pierre HENRY Email Updates:
Status: Verified Impact on me:
Category:MySQL Operator Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[29 Jul 2022 8:04] Pierre HENRY
We are testing the MySQL K8s Operator and we are not able to create our own MySQL users during te cluster initialization. Looking at the Python code mysqloperator/init_main.py, we see that all files found in the folder /mnt/initconf/ are placed in the docker-entrypoint-initdb.d folder later executed by entrypoint.sh

BUT ... we don't find how to place our own .sql files in /mnt/initconf folder ...

Any idea how to do this ? Maybe additionnal explanations in the documentation are necessary ?

Best regards,

How to repeat:
Try to create a new cluster with the MySQL operator ...
[1 Aug 2022 18:59] MySQL Verification Team

After discussing with our dev lead I will set this as Feature Request. 

Thanks for the interest in MySQL Server