mysql Ignoring query to other database
发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,mysql 碰到了Ignoring query to other database问题:root@support ~]# mysql -root -p --socket=/tmp/mysql.sock
千家信息网最后更新 2026年11月03日mysql Ignoring query to other database
mysql 碰到了Ignoring query to other database问题:
root@support ~]# mysql -root -p --socket=/tmp/mysql.sockEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 5Server version: 5.6.22-log Source distributionCopyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> show databases;Ignoring query to other databasemysql> show slave status\GIgnoring query to other database -> Ctrl-C -- exit!Aborted
Ignoring query to other database
百思不得其解,后面发现了错误原因。竟然是用户名漏了 -u,真是小糊涂。
错误:mysql -root -p --socket=/tmp/mysql.sock
正确:mysql -uroot -p --socket=/tmp/mysql.sock
[root@support ~]# mysql -uroot -p --socket=/tmp/mysql.sockEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 6Server version: 5.6.22-log Source distributionCopyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> show databases;+--------------------+| Database |+--------------------+| information_schema | | _client | | mfi_appstore | | mfi_boss_admin | | mysql | | performance_schema | | test | +--------------------+
错误
糊涂
百思不得其解
原因
用户
用户名
问题
百思
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
保险科技 互联网保险
湖北九亚互联网络科技有限公司
港股互联网科技股
互联网科技公司发展
平安科技 互联网
深圳互联网络科技有限公司
互联网科技排名
互联网科技视频
凡科互联网科技
广州善班互联网科技
互联网科技股午盘股票涨跌
宁波青枫互联网科技有限公司
央行互联网金融科技公司
互联网科技教育视频
苏州五指互联网络科技有限
华夏互联网科技业
河南住房之家互联网科技
2021世界互联网领先科技成果发布
南京一网一红互联网科技有限公司
青岛易易互联网科技
山东特亿宝互联网科技有限公司
互联网科技官网
A股互联网金融科技公司
撒么互联网科技公司
佰商互联网科技有限公司
想开互联网科技公司怎么样
世界互联网领先科技成果获奖
济南小医互联网科技有限公司招聘
武汉亿视互联网科技有限公司
小牛互联网科技有限公司地址