| 1 |
## Test: Upgrade data directory. |
| 2 |
# a) start MySQLd with 5.7 data directory, do the upgrade. |
| 3 |
# b) verify that X Plugin "information about acceptin client |
| 4 |
# connections (logs) are printed after upgrade finishes. |
| 5 |
|
| 6 |
## a) Restart the server with 5.7 data directory. |
| 7 |
# Copy and unzip the datadir. |
| 8 |
# Mark that error-logs generated until now are not important. |
| 9 |
include/assert_error_log_sequence.inc [server: 1, pattern: SAVEPOS] |
| 10 |
# Restart the server with "5.7" data directory. |
| 11 |
# restart: --datadir=DATADIR |
| 12 |
|
| 13 |
## b) Confirm that X Plugin "accepting" logs are printed after upgrade. |
| 14 |
include/assert_error_log_sequence.inc [server: 1, pattern: System.*Server upgrade from '50700' to '800..' started. |
| 15 |
System.*Server upgrade from '50700' to '800..' completed. |
| 16 |
System.*X Plugin ready for connections. Bind-address: .* port: ] |
| 17 |
|
| 18 |
## Cleanup: restart the server and restore the default database. |
| 19 |
# restart: |