2018-11-24 14:13:41 +01:00
|
|
|
update mysql.global_priv set priv=json_set(priv, '$.plugin', 'mysql_native_password', '$.authentication_string', password('foo'));
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 1/7: Checking and upgrading mysql database
|
2014-11-19 00:19:17 +01:00
|
|
|
Processing databases
|
|
|
|
mysql
|
|
|
|
mysql.column_stats OK
|
|
|
|
mysql.columns_priv OK
|
|
|
|
mysql.db OK
|
|
|
|
mysql.event OK
|
|
|
|
mysql.func OK
|
2018-11-24 14:13:41 +01:00
|
|
|
mysql.global_priv OK
|
2014-11-19 00:19:17 +01:00
|
|
|
mysql.gtid_slave_pos OK
|
|
|
|
mysql.help_category OK
|
|
|
|
mysql.help_keyword OK
|
|
|
|
mysql.help_relation OK
|
|
|
|
mysql.help_topic OK
|
|
|
|
mysql.index_stats OK
|
|
|
|
mysql.innodb_index_stats
|
|
|
|
Error : Unknown storage engine 'InnoDB'
|
|
|
|
error : Corrupt
|
|
|
|
mysql.innodb_table_stats
|
|
|
|
Error : Unknown storage engine 'InnoDB'
|
|
|
|
error : Corrupt
|
|
|
|
mysql.plugin OK
|
|
|
|
mysql.proc OK
|
|
|
|
mysql.procs_priv OK
|
|
|
|
mysql.proxies_priv OK
|
|
|
|
mysql.roles_mapping OK
|
|
|
|
mysql.servers OK
|
|
|
|
mysql.table_stats OK
|
|
|
|
mysql.tables_priv OK
|
|
|
|
mysql.time_zone OK
|
|
|
|
mysql.time_zone_leap_second OK
|
|
|
|
mysql.time_zone_name OK
|
|
|
|
mysql.time_zone_transition OK
|
|
|
|
mysql.time_zone_transition_type OK
|
2017-11-13 20:45:10 +01:00
|
|
|
mysql.transaction_registry
|
|
|
|
Error : Unknown storage engine 'InnoDB'
|
|
|
|
error : Corrupt
|
2014-11-19 00:19:17 +01:00
|
|
|
|
|
|
|
Repairing tables
|
|
|
|
mysql.innodb_index_stats
|
|
|
|
Error : Unknown storage engine 'InnoDB'
|
|
|
|
error : Corrupt
|
|
|
|
mysql.innodb_table_stats
|
|
|
|
Error : Unknown storage engine 'InnoDB'
|
|
|
|
error : Corrupt
|
2017-11-13 20:45:10 +01:00
|
|
|
mysql.transaction_registry
|
|
|
|
Error : Unknown storage engine 'InnoDB'
|
|
|
|
error : Corrupt
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 2/7: Installing used storage engines... Skipped
|
|
|
|
Phase 3/7: Fixing views
|
2018-11-24 14:13:41 +01:00
|
|
|
mysql.user OK
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 4/7: Running 'mysql_fix_privilege_tables'
|
|
|
|
Phase 5/7: Fixing table and database names
|
|
|
|
Phase 6/7: Checking and upgrading tables
|
2014-11-19 00:19:17 +01:00
|
|
|
Processing databases
|
|
|
|
information_schema
|
|
|
|
mtr
|
|
|
|
mtr.global_suppressions OK
|
|
|
|
mtr.test_suppressions OK
|
|
|
|
performance_schema
|
|
|
|
test
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 7/7: Running 'FLUSH PRIVILEGES'
|
2014-11-19 00:19:17 +01:00
|
|
|
OK
|
2016-03-25 17:51:22 +01:00
|
|
|
connect con1,localhost,root,foo,,,;
|
2019-02-05 16:07:07 +01:00
|
|
|
update mysql.global_priv set priv=json_compact(json_remove(priv, '$.plugin', '$.authentication_string'));
|
2014-11-19 00:19:17 +01:00
|
|
|
flush privileges;
|
2015-10-15 11:11:17 +02:00
|
|
|
set global event_scheduler=OFF;
|