错误日志(error log): log-err
查询日志(general query log): log
慢查询日志: -log-slow-queries
二进制日志 (binary log): log-bin
中继日志( relay log)
innodb 在线redo 日志
默认情况下,没有启动任何log,可以通过log 选项来启动相关的log
mysql 5.5 有以下几种日志: 错误日志(error log): log-err 查询日志(general query log): log 慢查询日志: -log-slow-queries 二进制日志 (binary log): log-bin 中继日志( relay log) innodb 在线redo 日志 默认情况下,没有启动任何log,...
查看 <mysql安装目录>/data/**.err 文件中,查找按时间记录的条目,其中有 log sequence number 附近的就是启动日志,之后有 mysqld: ready for connections. 的则为正常启动。#以下是windows环境,mysql-5.5.22的一个日志。
130412 15:11:10 [Note] Plugin 'FEDERATED' is disabled.
130412 15:11:10 InnoDB: The InnoDB memory heap is disabled
130412 15:11:10 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130412 15:11:10 InnoDB: Compressed tables use zlib 1.2.3
130412 15:11:10 InnoDB: Initializing buffer pool, size = 300.0M
130412 15:11:10 InnoDB: Completed initialization of buffer pool
130412 15:11:10 InnoDB: highest supported file format is Barracuda.
130412 15:11:11 InnoDB: Waiting for the background threads to start
130412 15:11:12 InnoDB: 1.1.8 startedlog sequence number 2039064
130412 15:11:13 [Note] Event Scheduler: Loaded 0 events
130412 15:11:13 [Note] D:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
Version: '5.5.22' socket: '' port: 3306 MySQL Community Server (GPL)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)