Background Image

FORUM

조회 수 440 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
ubuntu18.04 Linux 64bit 등
CUBRID Ver.
cubrid 10.2
CUBRID TOOL Ver.
manager 10.1.0.0007 64bit
응용 환경(API)
python 3.6, 파이썬 드라이버 10.1


* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.

에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------






리눅스 파이썬에서 큐브리드 연동하려고 합니다.

https://www.cubrid.org/manual/ko/9.3.0/api/python.html

위 링크를 참고하였습니다.



시도


easy_install CUBRID-Python

위 코드로 설치하고 다음 코드로 DB connection을 실행한 결과 에러가 발생하였습니다.


import CUBRIDdb

conn = CUBRIDdb.connect('CUBRID:192.168.*.*:33000:test_db:::', 'dba', 'test!@')

cur = conn.cursor()

cur.execute("INSERT INTO tablename (col1, col2) VALUES (11111, 'abab')")


conn.commit()

conn.close()




에러 내용


Traceback (most recent call last):

  File "/root/TextMining/TmApi/machineLearningAPI.py", line 19, in <module>

    conn = CUBRIDdb.connect('CUBRID:192.168.*.*:33000:test_db:::', 'dba', 'test!@')

  File "/usr/local/lib/python3.6/dist-packages/CUBRID_Python-9.3.0.1-py3.6-linux-x86_64.egg/CUBRIDdb/__init__.py", line 61, in Connect

    return Connection(*args, **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/CUBRID_Python-9.3.0.1-py3.6-linux-x86_64.egg/CUBRIDdb/connections.py", line 22, in __init__

    self.connection = _cubrid.connect(*args, **kwargs2)

_cubrid.InterfaceError: (-20002, 'ERROR: CCI, -20002, Invalid connection handle')


위 코드로 설치 후 실행하였으나 되지 않습니다.


어떻게 해결해야하는지 답변 부탁드립니다.








  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views122
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4476
    read more
  3. 마지막 공백 인식 문제입니다.

    Date2020.04.10 Bymon Views185
    Read More
  4. 케릭터셋 문제입니다.

    Date2020.04.13 By훈입니다. Views364
    Read More
  5. 쿼리문으로 컬럼의 데이터 타입을 구할 수 있나요?

    Date2020.04.13 Bymon Views1603
    Read More
  6. 릴리즈된 10.1.0.0004 ADO.NET 드라이버를 다운받을수 없습니다.

    Date2020.04.14 ByJs Views69
    Read More
  7. 리눅스 파이썬에서 큐브리드 연동

    Date2020.04.14 By배수민 Views440
    Read More
  8. INSERT 한글 깨짐 관련 질문 드립니다.

    Date2020.04.16 By마이클 Views1082
    Read More
  9. 프로시저 클래스 등록 관련입니다.

    Date2020.04.16 Bymon Views174
    Read More
  10. SELECT 전체 갯수에 대해 질문 드리겠습니다.

    Date2020.04.17 By훈입니다. Views263
    Read More
  11. csql interpreter에서 \(역슬래쉬) 사용 문제

    Date2020.04.21 Bynagh Views242
    Read More
  12. csql 출력 결과 string '' 제거 및 구분자 표시 방법

    Date2020.04.23 Bynagh Views211
    Read More
  13. 큐브리드 날자 변환 저장 방법문의

    Date2020.04.24 By파랑조아유 Views284
    Read More
  14. 큐브리드 with rollup 결과row에 null이 나오는데 이 null을 변경할수 있을까요?

    Date2020.04.24 Bydkkdkdkdkdk Views705
    Read More
  15. Cubrid ha master slave 확인 어떻게 하나요?

    Date2020.04.27 ByPhilip Park Views470
    Read More
  16. Failback 하는 방법 좀 알려 주세요.

    Date2020.04.28 ByPhilip Park Views247
    Read More
  17. Mac OS CUBRID 매니저 Remote host closed connection during handshake 오류

    Date2020.05.04 By오충 Views349
    Read More
  18. 큐브리드 매니저 연결시 - 빈번하게 remote host closed connection during handshake 이란 오류가 발생 합니다.

    Date2020.05.06 By마이클 Views3504
    Read More
  19. HA 구성시 MASTER 서버 접속 실패 상황

    Date2020.05.06 Bynagh Views818
    Read More
  20. COUNT 함수

    Date2020.05.06 By현수 Views348
    Read More
  21. 8.4.4ver 큐브리드 JDBC Driver Connection 인터페이스 미구현 문제

    Date2020.05.07 Bybikehee Views489
    Read More
Board Pagination Prev 1 ... 152 153 154 155 156 157 158 159 160 161 ... 201 Next
/ 201

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales