Bug #85310 see no need for default username on windows to be 'ODBC' ?
Submitted: 5 Mar 2017 5:19
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:8.0.1 OS:Windows
Assigned to: CPU Architecture:Any

[5 Mar 2017 5:19] Shane Bester
Description:
E:\mysql-5.7.17-win32\bin>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)

I've never seen any benefit for this default username to be 'ODBC'??

The code looks like:
#else /* If Windows */

void read_user_name(char *name)
{
  char *str=getenv("USER");		/* ODBC will send user variable */
  strmake(name,str ? str : "ODBC", USERNAME_LENGTH);
}

How to repeat:
set USER=
mysql.exe --no-defaults

Suggested fix:
please don't set the user to ODBC if none is provided.
use similar logic as linux platforms.
or use any empty username.
[5 Mar 2017 5:19] MySQL Verification Team
https://dev.mysql.com/doc/refman/8.0/en/connecting.html
"The default user name is ODBC on Windows or your Unix login name on Unix."