how to overcome ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) permanently

前端 未结 14 1596
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 13:49

when am trying to open mysql in windows cmd by typing mysql. the following error is occuring.

ERROR 1045 (28000): Access denied for user ODBC@localhost (usin         


        
14条回答
  •  梦毁少年i
    2020-12-23 14:17

    Why you can't just use mysqlsh?

    PS C:\Users\artur\Desktop> mysqlsh --user root
    MySQL Shell 8.0.17
    
    Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
    Other names may be trademarks of their respective owners.
    
    Type '\help' or '\?' for help; '\quit' to exit.
    Creating a session to 'root@localhost'
    Fetching schema names for autocompletion... Press ^C to stop.
    Your MySQL connection id is 13 (X protocol)
    Server version: 8.0.17 MySQL Community Server - GPL
    No default schema selected; type \use  to set one.
     MySQL  localhost:33060+ ssl  JS >
    

提交回复
热议问题