打印

mysqld_safe Logging to '/www/mariadb/mariadb.err'

mysqld_safe Logging to '/www/mariadb/mariadb.err'

引用:
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...  done
Shutting down MySQL..                                      [  OK  ]
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx...  done
Starting MySQL.170212 08:53:50 mysqld_safe Logging to '/www/mariadb/mariadb.err'.
                                                           [  OK  ]
Starting php-fpm  done
Starting MySQL.170212 08:53:50 mysqld_safe Logging to '/www/mariadb/mariadb.err'.

这个提示是为什么,也能正常使用,但是看这个提示碍眼啊
引用:
Version: '10.1.20-MariaDB'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
2017-02-12  8:53:46 140201665899264 [Note] /usr/local/mariadb/bin/mysqld: Normal shutdown

2017-02-12  8:53:46 140201665899264 [Note] Event Scheduler: Purging the queue. 0 events
2017-02-12  8:53:46 140200493700864 [Note] InnoDB: FTS optimize thread exiting.
2017-02-12  8:53:46 140201665899264 [Note] InnoDB: Starting shutdown...
2017-02-12  8:53:47 140201665899264 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2017-02-12  8:53:48 140201665899264 [Note] InnoDB: Shutdown completed; log sequence number 8201101
2017-02-12  8:53:48 140201665899264 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

170212 08:53:48 mysqld_safe mysqld from pid file /www/mariadb/mariadb.pid ended
170212 08:53:50 mysqld_safe Starting mysqld daemon with databases from /www/mariadb
2017-02-12  8:53:50 140250109814976 [Note] /usr/local/mariadb/bin/mysqld (mysqld 10.1.20-MariaDB) starting as process 21834 ...
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: The InnoDB memory heap is disabled
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Using SSE crc32 instructions
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Initializing buffer pool, size = 512.0M
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Completed initialization of buffer pool
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Highest supported file format is Barracuda.
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: 128 rollback segment(s) are active.
2017-02-12  8:53:50 140250109814976 [Note] InnoDB: Waiting for purge to start
2017-02-12  8:53:50 140250109814976 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 8201101
2017-02-12  8:53:50 140248885491456 [Note] InnoDB: Dumping buffer pool(s) not yet started
2017-02-12  8:53:50 140250109814976 [Note] Plugin 'FEEDBACK' is disabled.
2017-02-12  8:53:50 140250109814976 [Note] Server socket created on IP: '::'.
2017-02-12  8:53:50 140250109814976 [Note] /usr/local/mariadb/bin/mysqld: ready for connections.
Version: '10.1.20-MariaDB'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution

TOP

mariadb/mysql 都会记录日志,不过mysql不显示这个提示,mariadb显示这个提示,貌似是没法关闭,没看到有这个的参数

TOP

这个可以关闭吧,,,好像是什么安全模式

TOP