如何在mariadb错误日志中禁用笔记日志?

时间:2018-10-16 07:46:35

标签: mysql mariadb

我正在使用centos 7.3和Mariadb 10.3。
当我cat /var/log/mariadb-error.log时,我发现很多note如下:

2018-10-16 15:07:30 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-10-16 15:07:30 0 [Note] InnoDB: Waiting for purge to start
2018-10-16 15:07:30 0 [Note] InnoDB: 10.3.10 started; log sequence number 1630842; transaction id 21
2018-10-16 15:07:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2018-10-16 15:07:30 0 [Note] InnoDB: Buffer pool(s) load completed at 181016 15:07:30
2018-10-16 15:07:30 0 [Note] Plugin 'FEEDBACK' is disabled.
2018-10-16 15:07:30 0 [Warning] 'proxies_priv' entry '@% root@localhost.localdomain' ignored in --skip-name-resolve mode.
2018-10-16 15:07:30 0 [Note] Reading of all Master_info entries succeded
2018-10-16 15:07:30 0 [Note] Added new Master_info '' to hash table
2018-10-16 15:07:30 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.10-MariaDB-log'  socket: '/var/lib/mysql/mysql.sock'  port: 0  MariaDB Server  

我有以下问题:
1.如何禁用[Note]部分,实际上我只需要[Error]
2.日志文件的末尾是port: 0 MariaDB Server,是错误的,因为端口应该是3306。

0 个答案:

没有答案