zoukankan      html  css  js  c++  java
  • 设置mysql二进制日志过期时间

    ((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)) > 
  • 相关阅读:
    泛型
    事件和委托
    参数和属性
    常量、字段、和方法
    LINQ
    LINQ- 子查询、组合策略、投影策略
    MySQL全局锁和表锁
    CLR基础
    LINQ
    LINQ
  • 原文地址:https://www.cnblogs.com/igoodful/p/11669898.html
Copyright © 2011-2022 走看看