Skip to content

[Bug] select user() stmt does return the IP which user connected in #4360

@morningman

Description

@morningman

Describe the bug

mysql> select user();
+----------+
| USER()   |
+----------+
| 'root'@% |
+----------+

Expected:

mysql> select user();
+-----------------------+
| USER()                |
+-----------------------+
| 'root'@'192.1.68.10.11' |
+-----------------------+

Metadata

Metadata

Assignees

Labels

Stalekind/fixCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions