by 달콤꼬야 [Toad] [2017.04.12 10:13:10]
설치 마친 후 토드 실행시
TNS목록에 아무것도 안뜹니다ㅠㅠㅠ
connect 누르면 tns가 없어서 ora-12560:TNS:protocol adapter error발생합니다.
TNS목록에 아무것도 안뜹니다ㅠㅠㅠ
1. 설치파일
회사에서 제공하는 32비트 오라클 클라이언트파일과
32비트 토드 for ORACLE 사용
토드 설치경로
C:\Program Files (x86)\Quest Software\Toad for Oracle 10
2. 설치환경
C:\web\oracle\product\11.2.0\client_1
에 설치하였으며
제 컴퓨터는 64비트 윈도우 10입니다.
3. 설치과정
1)처음에 토드 설치
2)그 후 오라클 클라이언트 설치
3)환경변수 설정
ORACLE_HOME : C:\web\oracle\product\11.2.0\client_1; 만듬
Path : 클라이언트 설치하니까 자동으로 맨 앞에 C:\web\oracle\product\11.2.0\client_1;가 생김
tnsnames.ora파일을 C:\web\oracle\product\11.2.0\client_1에 넣고 TNS_ADMIN에 C:\web\oracle\product\11.2.0\client_1; 만들어줌
하다하다 안되서 나중에
SQLPATH라는 환경변수 만들어서 C:\web\oracle\product\11.2.0\client_1;넣어줌
4)tnsname.ora 파일 설정
# sqlnet.ora Network Configuration File: C:\web\oracle\product\11.2.0\client_1\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SUJIN =
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=디비주소)
(PORT=3433)
)
(CONNECT_DATA=
(SERVICE_NAME=orcl2)
)
)
이파일은 선배한테 받아서 C:\web\oracle\product\11.2.0\client_1\sqlnet.ora이부분만 경로수정함
5)그래도 안되서 sqlnet.ora 파일 설정
# sqlnet.ora Network Configuration File: C:\web\oracle\product\11.2.0\client_1\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
제가 추측하는 이유..
1. 윈도우가 64비트인데 오라클클라이언트나 오라클토드를 32비트에 깔아서?
->근대 선배님들은 잘 설치해서 쓰시는듯합니다ㅠㅠ
2. 설치 순서의 문제?
3. 어떤 블로그에는 토드 경로가 C:\Program Files (x86)\Quest Software\Toad for Oracle 10이면 C:\Program Files\Toad for Oracle 10로 옮기라고 해서 옮겨봤는데 안됨
4. 환경변수 설정의 문제?
5. tnsnames.ora파일의 #부분이 잘못됬는데 영향을미쳐서?
#은 주석이라고 생각했는데 아닌가요ㅠㅠㅠ
설치폴더 캡처파일첨부합니다
추가적으로 클라이언트를 여러번 설치했다 지웠다 했더니 installed clients가 세개가 뜨는데 나머지 두개 안뜨게 지울 수 있나요ㅠㅠㅠ