mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
This script is unused and unmaintained.
The logic is implemented in scripts/mysql_system_tables_fix.sql that forms part of mysql_upgrade
Its components:
alter table mysql.user drop column `password_last_changed`, drop column `password_lifetime`, drop column `account_locked`;
has a friendlier migration path coming MDEV-24122
alter table mysql.user change column `authentication_string` `auth_string` text COLLATE utf8_bin NOT NULL;
Already part of scripts/mysql_system_tables_fix.sql
alter table mysql.user add column `Password` char(41) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '' after `user`, add column `is_role` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N' after `auth_string`;
alter table mysql.user add column `default_role` char(80) COLLATE utf8_bin NOT NULL DEFAULT '', add column `max_statement_time` decimal(12,6) NOT NULL DEFAULT '0.000000';
corrected in MDEV-23201 to be in the right order.
update mysql.user set `password`=`auth_string`, plugin='' where plugin="mysql_native_password";
Is handled in server in the function acl_load.
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| comp_sql.c | ||
| convert-debug-for-diff.sh | ||
| dheadgen.pl | ||
| fill_help_tables.sql | ||
| galera_new_cluster.sh | ||
| galera_recovery.sh | ||
| make_win_bin_dist | ||
| maria_add_gis_sp.sql.in | ||
| mariadb-service-convert | ||
| msql2mysql.sh | ||
| mysql_config.pl.in | ||
| mysql_config.sh | ||
| mysql_convert_table_format.sh | ||
| mysql_find_rows.sh | ||
| mysql_fix_extensions.sh | ||
| mysql_install_db.pl.in | ||
| mysql_install_db.sh | ||
| mysql_performance_tables.sql | ||
| mysql_secure_installation.pl.in | ||
| mysql_secure_installation.sh | ||
| mysql_setpermission.sh | ||
| mysql_system_tables.sql | ||
| mysql_system_tables_data.sql | ||
| mysql_system_tables_fix.sql | ||
| mysql_test_data_timezone.sql | ||
| mysql_test_db.sql | ||
| mysqlaccess.conf | ||
| mysqlaccess.sh | ||
| mysqld_multi.sh | ||
| mysqld_safe.sh | ||
| mysqldumpslow.sh | ||
| mysqlhotcopy.sh | ||
| mytop.sh | ||
| wsrep_sst_common.sh | ||
| wsrep_sst_mariabackup.sh | ||
| wsrep_sst_mysqldump.sh | ||
| wsrep_sst_rsync.sh | ||
| wsrep_sst_xtrabackup-v2.sh | ||
| wsrep_sst_xtrabackup.sh | ||