设置mysql二进制日志过期时间
2024-10-08 00:13:49
((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)) >
最新文章
- 基于ZooKeeper的分布式锁和队列
- error: bad symbolic reference. A signature in HiveContext.class refers to term hive
- iOS 中contraints居中对齐的一点心得
- ease of rerouting traffic in IP networks without readdressing every host
- 事务——sql server中的事务应用举例
- SPRING IN ACTION 第4版笔记-第十章Hitting the database with spring and jdbc-003-四种方式获取DataSource
- KFC数据测试hbase结果
- 读书笔记-----Java并发编程实战(二)对象的共享
- 添加、设置tabBarItem属性
- B/S与C/S架构
- 【Unity】透明度渐变
- 正则化,L1,L2
- 创建springboot的聚合工程(三)
- JavaScript ES6格式化字符串方法
- oracle如何导出owner和tablespace
- PSI分析
- 怎么使用pipenv管理你的python项目
- ThreadLocal使用方法
- Python 7 多线程及进程
- Python3中实现简单的购物车程序