((none)) > show variables like 'expire_logs_days';
+------------------+-------+
| Variable_name    | Value |
+------------------+-------+
| expire_logs_days | 7     |
+------------------+-------+
1 row in set (0.00 sec)

Mon Oct 14 10:04:16 2019((none)) >  set global expire_logs_days=30;
Query OK, 0 rows affected (0.00 sec)

Mon Oct 14 10:04:43 2019((none)) > show variables like 'expire_logs_days';
+------------------+-------+
| Variable_name    | Value |
+------------------+-------+
| expire_logs_days | 30    |
+------------------+-------+
1 row in set (0.00 sec)

Mon Oct 14 10:04:47 2019((none)) > 

 

相关文章:

  • 2021-10-04
  • 2021-08-14
  • 2021-06-15
  • 2022-01-13
  • 2022-01-01
猜你喜欢
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-10-19
  • 2021-09-28
  • 2021-05-28
  • 2021-12-17
相关资源
相似解决方案