| 1 |
# ---------------------------------------------------------------------- |
| 2 |
# Setup |
| 3 |
# Creating custom global manifest file for MySQL server |
| 4 |
# Creating custom global configuration file for keyring component: component_keyring_file |
| 5 |
# Re-starting mysql server with manifest file |
| 6 |
# ---------------------------------------------------------------------- |
| 7 |
# |
| 8 |
# bug#30209760 : ASSERTION FAILURE: SRV0START.CC:969:SUCCESS THREAD |
| 9 |
# |
| 10 |
######### |
| 11 |
# SETUP # |
| 12 |
######### |
| 13 |
# Create path for ibdata* & undo* files |
| 14 |
# create bootstrap file |
| 15 |
# Stop the MTR default DB server |
| 16 |
######################################################################### |
| 17 |
# INITIALIZE NEW SERVER |
| 18 |
######################################################################### |
| 19 |
# Taking backup of global manifest file for MySQL server |
| 20 |
# Server should be initialized successfully. |
| 21 |
######################################################################### |
| 22 |
# RESTART 2 : WITH KEYRING. |
| 23 |
innodb_undo_log_encrypt=ON. |
| 24 |
Crash server before purge thread could start. |
| 25 |
######################################################################### |
| 26 |
# Restore global manifest file for MySQL server from backup |
| 27 |
######################################################################### |
| 28 |
# RESTART 3 : WITH KEYRING. |
| 29 |
innodb_undo_log_encrypt=ON. |
| 30 |
Skip rotating default master key in master thread |
| 31 |
######################################################################### |
| 32 |
######################################################################### |
| 33 |
# RESTART 4 : WITH KEYRING. |
| 34 |
innodb_undo_log_encrypt=OFF. |
| 35 |
######################################################################### |
| 36 |
########### |
| 37 |
# CLEANUP # |
| 38 |
########### |
| 39 |
# ---------------------------------------------------------------------- |
| 40 |
# Teardown |
| 41 |
# Removing local keyring file for keyring component: component_keyring_file |
| 42 |
# Removing global configuration file for keyring component: component_keyring_file |
| 43 |
# Removing global manifest file for MySQL server |
| 44 |
# Restarting server without the manifest file |
| 45 |
# ---------------------------------------------------------------------- |