[Sql Error] Ignoring query to other database

2021. 4. 30. 12:03·Error code 모음/1. SQL errors
반응형

 

 

 

1. 에러 원인


리눅스를 통해 접속을 할때, 

mysql -root -p

로 접속을 해주어서 에러가 발생했었음.

 

몇군데 서치를 해보니 'u' flag 를 지정하지 않고 유저 id 를 입력해서 데이터베이스에서 

무시를 하는 에러였음 

 

 

 

2. 해결 방법


기존에 있던 연결을 Ctrl + z or c 로 끊어주고

mysql -u root -p

로 접속을 해주면 발생했던 에러를 해결하고

정상적으로 쿼리 입력 가능

 

 

 

 

3.  참고 링크


stackoverflow.com/questions/36132063/ignoring-query-to-other-database-command-line

 

"Ignoring query to other database" command line

I keep getting this weird message, while executing any query in command prompt MySQL. ignoring query to other database I have already tried changing the database by issuing the "use database_name"

stackoverflow.com

 

반응형
저작자표시 비영리 변경금지 (새창열림)

'Error code 모음 > 1. SQL errors' 카테고리의 다른 글

[Oracle Error] begin case declare end exception exit for goto if loop mod null pragma raise return select update while with  (0) 2023.07.14
[MongoDB] mongodb: Auth mechanism not specified  (0) 2021.09.13
[MySql Error] ERROR 1819 (HY000): Your password does not satisfy the current policy requirements  (0) 2021.04.29
[MySQL Error] The MySQL server is running with the --secure-file-priv option so it cannot execute this statement  (0) 2021.03.19
[MySQL Error] No database select the default db to be used by double-clicking its name in the schemas list in the sidebar 에러  (0) 2021.02.02
'Error code 모음/1. SQL errors' 카테고리의 다른 글
  • [Oracle Error] begin case declare end exception exit for goto if loop mod null pragma raise return select update while with
  • [MongoDB] mongodb: Auth mechanism not specified
  • [MySql Error] ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
  • [MySQL Error] The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
쟈누
쟈누
Ad astra per aspera
    반응형
  • 쟈누
    쟈누의 기록공간
    쟈누
  • 전체
    오늘
    어제
    • 분류 전체보기 (444)
      • AWS (31)
        • Glue (4)
        • S3 (1)
      • 클라우드 (0)
      • Data Engineering (37)
        • GitHub (10)
        • NiFi (11)
        • Spark (10)
        • Snowflake (0)
        • 머신러닝, AI (6)
      • 언어 (118)
        • 데이터 베이스 (42)
        • JAVA (9)
        • Python (34)
        • Java Script (15)
        • Linux (18)
      • 프로젝트, 인강 그리고 책 (30)
        • Spotify Project (7)
        • RASA chatbot Project (9)
        • Naver shopping Project (6)
        • 빅데이터를 지탱하는 기술 (8)
      • OLD (56)
        • IT 용어 사전 (13)
        • Front End (12)
        • Back End (31)
      • Error code 모음 (165)
        • 1. SQL errors (17)
        • 2. Hadoop errors (20)
        • 3. Linux Errors (14)
        • 4. Python errors (33)
        • 5. JAVA, Spring errors (41)
        • 6. Jav Script errors (10)
        • 7. Dev Tools errors (9)
        • 8. Git errors (8)
        • 9. Jenkins Errors (4)
        • 10. airflow Errors (2)
        • 11. Aws errors (7)
      • 개인 (1)
        • 책 (1)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 블로그 관리
    • 글쓰기
  • 링크

  • 공지사항

    • 간단한 블로그 소개
  • 인기 글

  • 태그

    MySQL
    error
    SQL
    node
    java
    에러
    설치
    install
    Spring
    파이썬
    리눅스
    Python
    NiFi
    자바
    linux
    python error
    AWS
    API
    Git
    json
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
쟈누
[Sql Error] Ignoring query to other database
상단으로

티스토리툴바