[MDEV-11104] Windows : Mysterious user 'ODBC' if clients connect without specifying user name Created: 2016-10-21 Updated: 2016-10-22 Resolved: 2016-10-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows, Scripts & Clients |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2 |
| Fix Version/s: | 10.0.28 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
For a description see e.g
On Unixes, if client does not provide username (in command line 'mysql' client , or in mysql_real_connect()), the name default to current OS user. On Windows, due to incorrect way of determining the name, it always falls back to 'ODBC' (or almost always, Cygwin environment could be the one where getenv("USER") actually works)- Asked Lawrin if this is of any use for ODBC, he said no Upstream bug https://bugs.mysql.com/bug.php?id=48371 |