[MySQL Error] No database select the default db to be used by double-clicking its name in the schemas list in the sidebar 에러

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

1. 에러 원인


MySQL 워크벤치에서 쿼리를 날렸는데 아래의 메시지가 뜰 경우는 데이터베이스를 선택하지 않았다고 생각하면 될 것 같다. 

Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar.

 

 

2. 에러 해결 방법


나의 경우에는 비교적 쉽게 에러를 해결할 수 있었다. 데이터 베이스를 선택하지 않았기 때문에 아래의 쿼리로 데이터 베이스를 선택하고 쿼리를 다시 실행하니 정상적으로 동작했다.

use [사용할 데이터 베이스 이름]

 

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

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

[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
[Oracle Error] 오라클 비밀번호 만료 에러 ORA-28001: the password has expired  (0) 2020.12.01
[PostgreSQL Error] duplicate key value violates unique constraint  (0) 2020.10.30
[MySQL Error] Data too long for column  (0) 2020.09.12
'Error code 모음/1. SQL errors' 카테고리의 다른 글
  • [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
  • [Oracle Error] 오라클 비밀번호 만료 에러 ORA-28001: the password has expired
  • [PostgreSQL Error] duplicate key value violates unique constraint
쟈누
쟈누
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)
  • 블로그 메뉴

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

  • 공지사항

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

  • 태그

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

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
쟈누
[MySQL Error] No database select the default db to be used by double-clicking its name in the schemas list in the sidebar 에러
상단으로

티스토리툴바