MySQL command-line error

Source: Internet
Author: User

MySQL Console error message

C:\users\haihai187>mysql
ERROR 1045 (28000): Access denied for user ' ODBC ' @ ' localhost ' (using password:n
O)

Solutions

First: C:\users\haihai187>mysql-u root-p

Enter

Enter Password: *********

Enter

Welcome to the MySQL Monitor. Commands End With; or \g. Your MySQL connection ID is a server version:5.6.25-log mysql Community server (GPL)

Copyright (c), Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of the Oracle Corporation and/or its affiliates. Other names trademarks of their respective owners.

Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement.

Then:mysql> status

Mysql> status--------------mysql  Ver 14.14 distrib 5.6.25, for Win64 (x86_64)

Connection id:          database:current user:            [email protected] ssl:                     not on use Using delimiter:        ; Server version:         5.6.25-log MySQL Community Server (GPL) Protocol version:       connection:              localhost via TCP/IP Server characterset:    UTF8 db     characterset:    UTF8 Client characterset:    gbk conn.  characterset:     GBK TCP port:               3306 UPTIME:        &NBsp;        min 7 sec

Threads:5 questions:6919 Slow queries:0 opens:95 Flush tables:1 Open t ables:82 queries per second avg:3.828 --------------

Mysql>

Problem solving

MySQL command-line error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.