3
下列要求:解釋MySQL查詢日誌
select * from mysql.general_log order by event_time desc
它爲什麼會出現 「拒絕訪問」 如此頻繁?似乎它每兩秒鐘就會嘗試這樣做。這是一個錯誤還是爲什麼發生這種情況,這是什麼意思?
| user_host | thread_id | server_id | command_type | argument |
+---------------------------+-----------+-----------+--------------+-------------------------------------------------------------------+
| root[root] @ localhost [] | 122 | 0 | Query | select * from mysql.general_log order by event_time desc |
| [] @ localhost [] | 223 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 223 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 222 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 222 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 221 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 221 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 220 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 220 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 219 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 219 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 218 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 218 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 217 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 217 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 216 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
| [dave] @ localhost [] | 216 | 0 | Connect | [email protected] as on |
| [] @ localhost [] | 215 | 0 | Connect | Access denied for user 'dave'@'localhost' (using password: NO) |
哪些進程已經打開MySQL sock進行寫入? ('fuser'或'lsof'可以顯示你。) – sarnold
'mysqld 15806 _mysql 21u IPv4 0xffffff600c106a40 0t0 TCP *:mysql(LISTEN)' – David542
您有沒有嘗試過,或許後來放棄了設置複製? –