https://blog.pythian.com/mysql-log-rotation/ 1.授权用户 CREATE USER 'log_rotate'@'localhost' IDENTIFIED BY '123456'; GRANT RELOAD,SUPER ON *.* to 'log_rotate'@'localhost'; FLUSH PRIVILEGES; 2.配置登录信息 2.1 密文 mysql_config_editor set \ --login-path=logrotate…
reference:http://www.coolcoder.in/2013/12/common-linux-log-files-name-and-usage.html if you spend lot of time in Linux environment, it is essential that you know where the log files are located, and what is contained in each and every log file. When…