Skip to content
Snippets Groups Projects
Commit e0b7ad3f authored by Gin Tan (Monash University)'s avatar Gin Tan (Monash University)
Browse files

Adding explanation to the role

parent 87dd7d06
No related branches found
No related tags found
1 merge request!234Mariadb
If the database is already up and running, applying the config would fail.
To make a change to the log file size without data loss before applying the config.
1. While mariadb is still runing
MySQL> SET GLOBAL innodb_fast_shutdown=0;
2. Stop mariadb
systemctl stop mariadb
3. Run this role to copy the config to /etc/my.cnf.d
4. Go to /var/lib/mysql
mv ib_logfile0 ib_logfile0_orig
mv ib_logfile1 ib_logfile1_orig
5. systemctl start mariadb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment