mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 14:32:34 +01:00
c550a45522
- Use mysql_system_tables.sql to create MySQL system tables in all places where we create them(mysql_install_db, mysql-test-run-pl and mysql_fix_privilege_tables.sql)
97 lines
2.3 KiB
Text
97 lines
2.3 KiB
Text
Run mysql_upgrade once
|
|
mysql.columns_priv OK
|
|
mysql.db OK
|
|
mysql.func OK
|
|
mysql.help_category OK
|
|
mysql.help_keyword OK
|
|
mysql.help_relation OK
|
|
mysql.help_topic OK
|
|
mysql.host OK
|
|
mysql.proc OK
|
|
mysql.procs_priv 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
|
|
mysql.user OK
|
|
@hadGrantPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadShowDbPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateViewPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateRoutinePriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateUserPriv:=1
|
|
1
|
|
1
|
|
1
|
|
Run it again - should say already completed
|
|
@hadGrantPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadShowDbPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateViewPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateRoutinePriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateUserPriv:=1
|
|
1
|
|
1
|
|
1
|
|
Force should run it regardless of wheter it's been run before
|
|
mysql.columns_priv OK
|
|
mysql.db OK
|
|
mysql.func OK
|
|
mysql.help_category OK
|
|
mysql.help_keyword OK
|
|
mysql.help_relation OK
|
|
mysql.help_topic OK
|
|
mysql.host OK
|
|
mysql.proc OK
|
|
mysql.procs_priv 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
|
|
mysql.user OK
|
|
@hadGrantPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadShowDbPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateViewPriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateRoutinePriv:=1
|
|
1
|
|
1
|
|
1
|
|
@hadCreateUserPriv:=1
|
|
1
|
|
1
|
|
1
|