Editing
MariaDB
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Reinstall == Reinstalling the application on top of an existing database/configuration is problematic for two reasons, both of them relating to the database passwords: # Unless you provide passwords, the helm chart will generate new random passwords for each install -- which will not line up with the old passwords in the database that is still around. # The LocalSettings.php file is where the mediawiki app itself stores the password for the database (in clear text ...) -- so even if the app is reinstalled, the LocalSettings.php is not overwritten, and therefore the old password is still there. You can solve this problem before you start by simply specifying the passwords in the 'values.yaml' file: * 'db.password' = '<password>' * 'db.rootUser.password' = '<rootpassword>' If you forget to do this (or somehow the database passwords get changed) you will have to access the database from OUTSIDE the pod and reset the root password using any of the multiple web pages that tell you how to do it. THEN, you will have to update the secret 'mariadb' with the new passwords (if the application is installed) or set it in the values.html files before you reinstall.
Summary:
Please note that all contributions to WilliamsNet Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WilliamsNet Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Commons
Architecture
How-To
Systems
Hardware
SysAdmin
Kubernetes
OpenSearch
Special
Pages to create
All pages
Recent changes
Random page
Help about MediaWiki
Formatting Help
Tools
What links here
Related changes
Special pages
Page information