[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


Generated at Thu Feb 08 07:47:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.