http://iotn.co.kr 연락처: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / 日本政府は日本軍の性的奴隷?牲者に謝罪すべき. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [69]
02.File Book
File 자료실 [95]
Site Link [18]
개인폴더 [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2888]
PostgreSQL [103]
기타정보 [150]
운영체제 [577]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Work Book :: MySQL

 회원가입

[ISQL]ERROR: Could not SQLConnect
최길호 [LIST]   2020-12-09 23:05:42, 조회 : 323

echo '
[ODBC Data Sources]
mysql = ODBC for MySQL
[mysql]
Driver      = /usr/lib/libmyodbc5.so
Driver64    = /usr/lib64/libmyodbc5.so
DATABASE    = mysql
DESCRIPTION = ODBC for MySQL
PORT        = 3306
SERVER      = 127.0.0.1
UID         = MYSQL1
PWD         = MYSQL1
CHARSET     = euckr
' > /home/oracle/.odbc.ini

$ isql mysql MYSQL1 MYSQL1
[ISQL]ERROR: Could not SQLConnect

$ isql -v mysql
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/libmyodbc5.so' : file not found
[ISQL]ERROR: Could not SQLConnect

$ ls /usr/lib/libmyodbc5.so
ls: cannot access /usr/lib/libmyodbc5.so: No such file or directory

조치
rpm -Uvh mysql-connector-odbc-5.2.5-8.el7.x86_64.rpm
/usr/lib64/libmyodbc5.so

vi /home/oracle/.odbc.ini
Driver      = /usr/lib64/libmyodbc5.so # 수정

도움: https://stackoverrun.com/ko/q/10053953


  LIST

Copyright 1999-2022 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2008/12/15
MySQL이 안좋은건가? 장애도 쉽게 나고,...
by 최길호
최근 게시물
06/29
[ORACLE]
DDE: Problem Key 'ORA 600 [133....
by 최길호
06/25
[ORACLE]
Replication may not be valid i....
by 최길호
06/22
[운영체제]
CentOS7 홈페이지 Migration 메모.
by 최길호