/
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
1161
0755
edit
dl
rm
errmsg-utf8.txt
831146
0644
edit
dl
rm
fill_help_tables.sql
2473919
0644
edit
dl
rm
magic
1470
0644
edit
dl
rm
mariadb.logrotate
1952
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
12587
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
30576
0644
edit
dl
rm
mysql_system_tables_data.sql
3327
0644
edit
dl
rm
mysql_sys_schema.sql
619484
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
3518
0644
edit
dl
rm
wsrep_notify
4979
0755
edit
dl
rm
Edit:
/usr/share/mysql/mariadb.logrotate
(1952B)
# This is the MariaDB configuration for the logrotate utility # # Note that on most Linux systems logs are written to journald, which has its # own rotation scheme. # # Read https://mariadb.com/docs/server/server-management/server-monitoring-logs/error-log to learn more about logging and # https://mariadb.com/docs/server/server-management/server-monitoring-logs/rotating-logs-on-unix-and-linux about rotating logs. /var/lib/mysql/mysqld.log /var/lib/mysql/mariadb.log /var/log/mariadb/*.log { # Depends on a mysql@localhost unix_socket authenticated user with RELOAD privilege su mysql mysql # If any of the files listed above is missing, skip them silently without # emitting any errors missingok # If file exists but is empty, don't rotate it notifempty # Run monthly monthly # Keep 6 months of logs rotate 6 # If file is growing too big, rotate immediately maxsize 500M # If file size is too small, don't rotate at all minsize 50M # Compress logs, as they are text and compression will save a lot of disk space compress # Don't compress the log immediately to avoid errors about "file size changed while zipping" delaycompress # Don't run the postrotate script for each file configured in this file, but # run it only once if one or more files were rotated sharedscripts # After each rotation, run this custom script to flush the logs. Note that # this assumes that the mariadb-admin command has database access, which it # has thanks to the default use of Unix socket authentication for the 'mysql' # (or root on Debian) account used everywhere since MariaDB 10.4. postrotate if test -r /etc/mysql/debian.cnf then EXTRAPARAM='--defaults-file=/etc/mysql/debian.cnf' fi if test -x /usr/bin/mariadb-admin then /usr/bin/mariadb-admin $EXTRAPARAM --local flush-error-log \ flush-engine-log flush-general-log flush-slow-log fi endscript }
Save
cmd:
run