Do Something

[DBeaver] Native client is. not specified for connection / Mysqldump not found in client home 본문

기타

[DBeaver] Native client is. not specified for connection / Mysqldump not found in client home

뭐라도해야겠다 2023. 8. 6. 03:02

데이터를 추출하려고 하는데 문제가 발생했다. 

너 뭐야!

Native Client isi not specified for connectiond이라는 문제였다. 

데이터를 가져와서 보여주는건 서버측에서 전송만 해주니까 상관없는데 데이터 추출은 내 컴퓨터에서 직접 진행해서 그런거 같다. 

 

DBeaver를 사용해서 테이블하고 데이터 빼오려는데 

Task execution failed

Reason: Error executing process

 

Utility 'mysqldump' not found in cliend home~~~~~

 

혹은 Native Client가 없다고 그냥 안되는 경우일것이다

 

결론적으로는 터미널로 mariadb를 로컬에 실행파일로 받아서 실행파일을 이용해 data export를 해주면 해결된다. 

 

1. 마리아 디비 컴퓨터에 받기

2. 파일은 아마 /opt/homebrew혹은 암튼간 /bin파일에 있을것

3. Dbeaver은 native client를 설정할 때 파인더를 통해서밖에 안되므로, 파일을 찾아서 심볼릭 링크가 아닌 파일을 직접 복사해서 그 파일을 native 경로로 잡아주면 된다!!

brew update

brew install mariadb

 which mysql
 
 cp /opt/homebrew/Cellar/mariadb/11.0.2_1/bin/mysqldump /Users/~~~~~~~

여기에서 Local Client클릭
mysqldump을 복사해둔 폴더 선택
mysqldump를 확인합니다