info sur log_bin pour Debian 9
This commit is contained in:
parent
f04a53821d
commit
9e9916896b
|
@ -1106,7 +1106,7 @@ Par défaut les binlogs sont conservés sur 10 jours, avec des fichiers n'excéd
|
||||||
|
|
||||||
~~~{.ini}
|
~~~{.ini}
|
||||||
[mysqld]
|
[mysqld]
|
||||||
#log_bin = /var/log/mysql/mysql-bin.log
|
log_bin = /var/log/mysql/mysql-bin.log
|
||||||
expire_logs_days = 10
|
expire_logs_days = 10
|
||||||
max_binlog_size = 100M
|
max_binlog_size = 100M
|
||||||
#binlog_do_db = include_database_name
|
#binlog_do_db = include_database_name
|
||||||
|
@ -1114,6 +1114,8 @@ max_binlog_size = 100M
|
||||||
binlog_format = mixed
|
binlog_format = mixed
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
> *Note :* depuis Debian 9, il faut explicitement préciser la directive `log_bin` pour activer les binlogs.
|
||||||
|
|
||||||
### Format
|
### Format
|
||||||
|
|
||||||
<http://dev.mysql.com/doc/refman/5.5/en/binary-log-setting.html>
|
<http://dev.mysql.com/doc/refman/5.5/en/binary-log-setting.html>
|
||||||
|
|
Loading…
Reference in a new issue