-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Documentation clarification - environment variables #143
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
pls keep open :) |
Readme already states those are optional:
Also a couple mentions here https://github.com/linuxserver/docker-mariadb?tab=readme-ov-file#application-setup that these ENV's specifically for username/passwords are one time only. |
Being optional doesn't address the question about what happens if you define them on first boot and then subsequently change them. The only call-out is for the root password, but it doesn't mention the DB, user, or (non-root) password. My assumption is that once the database is created, the env vars won't be used but the docs aren't clear on whether or not that's the case. If that is the case, some text like what mongo uses would make that clear:
|
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
I'd still like appreciate if the docs were updated with more clarity 😄 |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
it'd still make me happy |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
as you were told in #143 (comment) |
@drizuid that doesn't say anything about the DB or user. If you change them, will a new database be created? a new user created? who knows. it doesn't say 🤷♀️ specifically, my reply to the post you quoted are the questions I still have:
|
I also don't know why the root password keeps getting brought up 😅 I don't say anything about it in my issue or have any questions about it. That's the only one that does say what happens if you change it after the container is initialized. |
@drizuid thanks for sticking with me ❤️ |
This issue is locked due to inactivity |
Is this a new feature request?
Wanted change
Clarification on whether the Database, User, and Password environment variables are required or can be changed after the container is set up.
If I initialize the container with MYSQL_DATABASE, MYSQL_USER, and MYSQL_PASSWORD, will changing them in the future have any effect? Can they be deleted after first run when the database is set up or will removing them remove the database that was created?
Reason for change
Clarification
Proposed code change
No response
The text was updated successfully, but these errors were encountered: