############################################################################################ # Case 1. The redo log directory has ib_logfile0 before initializing new datadir. ############################################################################################ # Prepare... # Start MySQL... # Verify... Pattern "--initialize specified but the redo log directory .*logdir.*has redo log files inside\. Aborting" found Pattern "data directory .*datadir.*is unusable" found Pattern "Bootstrapping complete" not found # Cleanup... ############################################################################################ # Case 2. The redo log directory has #innodb_redo/#ib_redo1 before initializing new datadir. ############################################################################################ # Prepare... # Start MySQL... # Verify... Pattern "--initialize specified but the redo log directory .*logdir.*has redo log files inside\. Aborting" found Pattern "data directory .*datadir.*is unusable" found Pattern "Bootstrapping complete" not found # Cleanup... ############################################################################################ # Case 3. The redo log directory has empty #innodb_redo before initializing new datadir. ############################################################################################ # Prepare... # Start MySQL... # Verify... Pattern "Bootstrapping complete" found # Cleanup...