MariaDB / MySQL
While you have it easy on Linux, on windows these will be helpful:
To gracefully shutdown: mysqladmin shutdown
After upgrading: bin/mysql_upgrade
MariaDB 5.2 had my.ini in data directory. MariaDB 5.5 has it (effective) in install dir.