Error: (conn=335) Table 'CTLGS' already exists (state=42S01,code=1050)

Volc·2022년 4월 1일
0

Error

목록 보기
12/62
post-thumbnail

Error

  • mysql에 hive 스키마를 생성하려고 schematool -initSchema -dbType mysql 명령어를 사용하니 다음과 같은 에러가 나왔다.

Error 해결

  • 위 에러는 database의 이름이 중복되었기 때문에 발생한 에러이다.
  • 다음과 같이 해결하였다.
    mysql -u root -p
    drop database hive;
profile
미래를 생각하는 개발자

0개의 댓글