MySQL Error: Ignoring query to alternative database solution

Source: Internet
Author: User
Tags mysql show databases

MySQL Error: Ignoring query to alternative database solution

Today login MySQL show databases appeared ignoring query to other database error, and tried several commands and SQL all prompt ignoring query to other database error

The error is as follows:

D:\Program Files\mysql\mysql Server 5.6\bin>mysql-root
Welcome to the MySQL Monitor. Commands End With; or \g.
Your MySQL Connection ID is 66
Server version:5.6.15 MySQL Community Server (GPL)

Copyright (c) and/or, Oracle, 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.

mysql> show databases;
Ignoring query to other database
Mysql> Show tables;
Ignoring query to other database

Tossing for a long time only to find that the original is connected to MySQL without the "-U" parameter caused by
D:\Program Files\mysql\mysql Server 5.6\bin>mysql-uroot

Reconnect MySQL plus-u parameter everything is OK

MySQL Error: Ignoring query to alternative database solution

Related Article

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.