mirror of
https://github.com/MariaDB/server.git
synced 2025-02-20 20:33:15 +01:00

new features: set event_scheduler=ON|OFF will now try to init event scheduler if it's not enabled set event_scheduler=default will try to enable it based on the value of the event_scheduler when mysqld was started
23 lines
632 B
Text
23 lines
632 B
Text
#
|
|
# MDEV-6984 Can't migrate from MySQL 5.6.21 to MariaDB 10
|
|
#
|
|
--source include/not_embedded.inc
|
|
|
|
#
|
|
# When 'root' account is password protected and MYSQL_UPGRADE doesn't
|
|
# know the password (meaning, MYSQL_UPGRADE is run automatically
|
|
# on upgrade), MYSQLD has to be started with --skip-grant-tables.
|
|
#
|
|
# In this setup MYSQL_UPGRADE cannot continue after issuing FLUSH PRIVILEGES
|
|
#
|
|
|
|
update mysql.user set password=password("foo") where user='root';
|
|
|
|
--exec $MYSQL_UPGRADE
|
|
|
|
connect(con1,localhost,root,foo,,,);
|
|
|
|
update mysql.user set password='' where user='root';
|
|
flush privileges;
|
|
# Load event table
|
|
set global event_scheduler=OFF;
|