MySql5.7报错ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: YES)

MySql5.7报错ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: YES)

 

 C:\Program Files\MySQL\MySQL Server 5.7\bin> mysql -u root -p
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: YES)

解决如下:

需要加参数-h localhost

输入mysql -h localhost -u root -p123

MySql5.7报错ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: YES)_第1张图片

你可能感兴趣的:(运维)