Bug #74880 Record last login timestamp per user
| Submitted: | 16 Nov 2014 10:17 | Modified: | 13 Jan 2018 18:52 |
|---|---|---|---|
| Reporter: | Daniël van Eeden | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Security: Privileges | Severity: | S4 (Feature request) |
| Version: | 5.7 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[16 Nov 2014 10:17]
Daniël van Eeden
[16 Nov 2014 11:59]
Daniël van Eeden
In performance_schema this is already recorded on a per-IP basis (except for ::1, 127.0.0.1, UNIX sockets and probably named pipes on Windows) mysql [performance_schema] > SELECT IP, HOST, FIRST_SEEN, LAST_SEEN FROM host_cache; +--------------+------+---------------------+---------------------+ | IP | HOST | FIRST_SEEN | LAST_SEEN | +--------------+------+---------------------+---------------------+ | 192.168.1.10 | NULL | 2014-11-16 12:05:52 | 2014-11-16 12:05:58 | +--------------+------+---------------------+---------------------+ 1 row in set (0.00 sec)
[20 Nov 2014 10:43]
Georgi Kodinov
Thank you for the reasonable feature request.
[13 Jan 2018 18:52]
Daniël van Eeden
Duplicate of: Bug #2682 When MySQL user last logged into MySQL server.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.