# The log file name and location can be set in # /etc/my.cnf by setting the "log-error" option # in either [mysqld] or [mysqld_safe] section as # follows: # # [mysqld] # log-error=/cvmfs/km3net.egi.eu/conda/envs/v9.2.0/km3env/data/mysqld.log # # In case the root user has a password, then you # have to create a /root/.my.cnf configuration file # with the following content: # # [mysqladmin] # password = # user= root # # where "" is the password. # # ATTENTION: The /root/.my.cnf file should be readable # _ONLY_ by root ! /cvmfs/km3net.egi.eu/conda/envs/v9.2.0/km3env/data/mysqld.log { # create 600 mysql mysql notifempty daily rotate 5 missingok compress postrotate # just if mysqld is really running if test -x /cvmfs/km3net.egi.eu/conda/envs/v9.2.0/km3env/bin/mysqladmin && \ /cvmfs/km3net.egi.eu/conda/envs/v9.2.0/km3env/bin/mysqladmin ping &>/dev/null then /cvmfs/km3net.egi.eu/conda/envs/v9.2.0/km3env/bin/mysqladmin flush-logs fi endscript }