bug#17568 mysql_fix_privilege_tables doesn't create mysql.plugin
'mysql_install_db' changed to 'mysql_upgrade' in error message
This commit is contained in:
parent
88a583da1d
commit
149ecabb50
@ -681,7 +681,7 @@ void plugin_load(void)
|
|||||||
if (simple_open_n_lock_tables(new_thd, &tables))
|
if (simple_open_n_lock_tables(new_thd, &tables))
|
||||||
{
|
{
|
||||||
DBUG_PRINT("error",("Can't open plugin table"));
|
DBUG_PRINT("error",("Can't open plugin table"));
|
||||||
sql_print_error("Can't open the mysql.plugin table. Please run the mysql_install_db script to create it.");
|
sql_print_error("Can't open the mysql.plugin table. Please run the mysql_upgrade script to create it.");
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
table= tables.table;
|
table= tables.table;
|
||||||
|
@ -146,7 +146,7 @@ void udf_init()
|
|||||||
if (simple_open_n_lock_tables(new_thd, &tables))
|
if (simple_open_n_lock_tables(new_thd, &tables))
|
||||||
{
|
{
|
||||||
DBUG_PRINT("error",("Can't open udf table"));
|
DBUG_PRINT("error",("Can't open udf table"));
|
||||||
sql_print_error("Can't open the mysql.func table. Please run the mysql_install_db script to create it.");
|
sql_print_error("Can't open the mysql.func table. Please run the mysql_upgrade script to create it.");
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user