今天,我发现慢速日志记录了一些慢查询。
但我不知道日志中的某些记录意思:“#administrator命令:Init DB;”
我使用的是mysql-5.6和php mysqli Extension。
我在Google上搜索过“init db”,但没有明确的答案;
# Query_time: 0.780922 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
SET timestamp=1475161137;
# administrator command: Init DB;
# User@Host: wpt[wpt] @ [10.237.220.226] Id: 4099347882
# Query_time: 0.782442 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
SET timestamp=1475161137;
# administrator command: Init DB;
# User@Host: wpt[wpt] @ [10.143.43.138] Id: 4099347906
# Query_time: 0.781526 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
SET timestamp=1475161137;
# administrator command: Init DB;
# User@Host: wpt[wpt] @ [10.143.43.138] Id: 4099347908
# Query_time: 0.781560 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
SET timestamp=1475161137;
# administrator command: Init DB;
# User@Host: wpt[wpt] @ [10.237.220.226] Id: 4099132169
# Query_time: 0.785297 Lock_time: 0.000296 Rows_sent: 1 Rows_examined: 1
SET timestamp=1475161137;