October 16, 2025Oct 16 so i have a old maria db instance that was storing a lot of stuff i have lost the root password along time ago and i have also lost the default database user pass all the sub databases i made i kept there passwords safe and can recover them but the main database i cant get or find the pass word for. how ever it is still there as when i try to reinstall it is filled is there away i can get this pass word to then login to it and recover the data there and migrate it to a new database where i will keep a log of the root pass?
October 20, 2025Oct 20 Solution On 10/16/2025 at 5:55 PM, Uncommon said:so i have a old maria db instance that was storing a lot of stuff i have lost the root password along time ago and i have also lost the default database user pass all the sub databases i made i kept there passwords safe and can recover them but the main database i cant get or find the pass word for. how ever it is still there as when i try to reinstall it is filled is there away i can get this pass word to then login to it and recover the data there and migrate it to a new database where i will keep a log of the root pass?Unraid templates are stored on the flash drive.cd /boot/config/plugins/dockerMan/templates-user/example:root@The-Borg:/boot/config/plugins/dockerMan/templates-user# lsmy-ApacheGuacamole.xml my-Immich_Valkey.xml my-Redis_Immich.xml my-homarr.xml my-proxmox-backup-server.xmlmy-ClamAV-clamdscan.xml my-Influxdb.xml my-Redis_NetBox.xml my-homeassistant.xml my-sftp-fail2ban.xmlmy-ClamAV.xml my-MakeMKV.xml my-RocketChat.xml my-iPXE-buildweb.xml my-sftp.xmlmy-ClamAV.xml.bak my-MongoDB-RocketChat.xml my-UniFi-Video.xml my-immich.xml my-steam-headless.xmlmy-Factorio.xml my-Palworld.xml my-UptimeKuma.xml my-mariadb-hive.xml my-syncthing.xmlmy-Grafana-Unraid-Stack.xml my-Pihole-DoT-DoH.xml my-binhex-syncthing.xml my-netbootxyz.xml my-unifi-controller-reborn.xmlmy-Homebox.xml my-PostgreSQL_Immich.xml my-foldingathome.xml my-netbox.xml my-watchtower.xmlmy-Immich_PostgreSQL.xml my-PostgreSQL_Netbox.xml my-frigate.xml my-plex.xmlroot@The-Borg:/boot/config/plugins/dockerMan/templates-user# I can cat my-xyz template and read the xml line.You might be able to pull the database password from that line...Example:root@The-Borg:/boot/config/plugins/dockerMan/templates-user# cat my-mariadb-hive.xml <Config Name="MYSQL_PASSWORD" Target="MYSQL_PASSWORD" Default="DATABASE_PASSWORD" Mode="{3}" Description="Set this to the password you want to use for you MYSQL_USER (minimum 4 characters and non-alphanumeric passwords must be properly escaped)." Type="Variable" Display="always" Required="false" Mask="true">clonedeploy</Config>as I did play around with hive farm os for bitcoin miners.. there default password is clonedeploy. Which is seen in the template. Edited October 20, 2025Oct 20 by bmartino1 forum weridness with inline code
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.