/
usr
/
share
/
mysql
/
/usr/share/mysql
mkdir
upload
Name
Size
Mode
Actions
bulgarian/
-
0755
rm
charsets/
-
0755
rm
chinese/
-
0755
rm
czech/
-
0755
rm
danish/
-
0755
rm
dutch/
-
0755
rm
english/
-
0755
rm
estonian/
-
0755
rm
french/
-
0755
rm
georgian/
-
0755
rm
german/
-
0755
rm
greek/
-
0755
rm
hindi/
-
0755
rm
hungarian/
-
0755
rm
italian/
-
0755
rm
japanese/
-
0755
rm
korean/
-
0755
rm
norwegian/
-
0755
rm
norwegian-ny/
-
0755
rm
policy/
-
0755
rm
polish/
-
0755
rm
portuguese/
-
0755
rm
romanian/
-
0755
rm
russian/
-
0755
rm
serbian/
-
0755
rm
slovak/
-
0755
rm
spanish/
-
0755
rm
swedish/
-
0755
rm
systemd/
-
0755
rm
ukrainian/
-
0755
rm
binary-configure
1155
0755
edit
dl
rm
errmsg-utf8.txt
830764
0644
edit
dl
rm
fill_help_tables.sql
2134791
0644
edit
dl
rm
magic
1470
0644
edit
dl
rm
mariadb.logrotate
1860
0644
edit
dl
rm
maria_add_gis_sp.sql
1705
0644
edit
dl
rm
maria_add_gis_sp_bootstrap.sql
1683
0644
edit
dl
rm
mini-benchmark
9594
0755
edit
dl
rm
mysql.server
12701
0755
edit
dl
rm
mysqld_multi.server
1564
0755
edit
dl
rm
mysql_performance_tables.sql
1958
0644
edit
dl
rm
mysql_system_tables.sql
30575
0644
edit
dl
rm
mysql_system_tables_data.sql
3327
0644
edit
dl
rm
mysql_sys_schema.sql
619228
0644
edit
dl
rm
mysql_test_data_timezone.sql
10413
0644
edit
dl
rm
mysql_test_db.sql
1775
0644
edit
dl
rm
wsrep.cnf
3474
0644
edit
dl
rm
wsrep_notify
4979
0755
edit
dl
rm
Edit:
/usr/share/mysql/mysql_performance_tables.sql
(1958B)
-- -- PERFORMANCE SCHEMA INSTALLATION -- Note that this script is also reused by mysql_upgrade, -- so we have to be very careful here to not destroy any -- existing database named 'performance_schema' if it -- can contain user data. -- In case of downgrade, it's ok to drop unknown tables -- from a future version, as long as they belong to the -- performance schema engine. -- set @have_old_pfs= (select count(*) from information_schema.schemata where schema_name='performance_schema'); SET @cmd="SET @broken_tables = (select count(*) from information_schema.tables where engine != 'PERFORMANCE_SCHEMA' and table_schema='performance_schema')"; -- Work around for bug#49542 SET @str = IF(@have_old_pfs = 1, @cmd, 'SET @broken_tables = 0'); PREPARE stmt FROM @str; EXECUTE stmt; DROP PREPARE stmt; SET @cmd="SET @broken_views = (select count(*) from information_schema.views where table_schema='performance_schema')"; -- Work around for bug#49542 SET @str = IF(@have_old_pfs = 1, @cmd, 'SET @broken_views = 0'); PREPARE stmt FROM @str; EXECUTE stmt; DROP PREPARE stmt; SET @broken_routines = (select count(*) from mysql.proc where db='performance_schema'); SET @broken_events = (select count(*) from mysql.event where db='performance_schema'); SET @broken_pfs= (select @broken_tables + @broken_views + @broken_routines + @broken_events); -- -- The performance schema database. -- Only drop and create the database if this is safe (no broken_pfs). -- This database is created, even in --without-perfschema builds, -- so that the database name is always reserved by the MySQL implementation. -- SET @cmd= "DROP DATABASE IF EXISTS performance_schema"; SET @str = IF(@broken_pfs = 0, @cmd, 'SET @dummy = 0'); PREPARE stmt FROM @str; EXECUTE stmt; DROP PREPARE stmt; SET @cmd= "CREATE DATABASE performance_schema character set utf8mb3"; SET @str = IF(@broken_pfs = 0, @cmd, 'SET @dummy = 0'); PREPARE stmt FROM @str; EXECUTE stmt; DROP PREPARE stmt;
Save
cmd:
run