HOME   ·Î±×ÀΠ  ȸ¿ø°¡ÀÔ
    
ȸ¿ø°¡ÀÔ
ºñ¹Ð¹øÈ£ ã±â ÀÚµ¿·Î±ä
ÀÌÀü°Ô½ÃÆÇ
   free_board
   °Ç°­°Ô½ÃÆÇ
   ¿À¶óŬDB
   Linux
   HTML/javascript
   Áú¹®°ú ´ä
È£¼­±â
   À̹ÌÁö°Ô½ÃÆÇ  
   °Ç°­°Ô½ÃÆÇ  
   À½¾ÇÀÚ·á  
   ¼ºÁØÀÌ °Ô½ÃÆÇ  
[ÀϹÝ] freetds ¼³Ä¡ »ó¼¼¹æ¹ý
  È£¼® ´Ô²²¼­ ¾´ ±ÛÀÔ´Ï´Ù - 211.¢½.74.31 ÀÐÀ½:7263  
¢Ñ unixodbc ¼³Ä¡
./configure --prefix=/usr/local/odbc --sysconfdir=/etc --enable-drivrs=yes  --enable-gui=no
make ; make install ;

¢Ñ freetds ¼³Ä¡
./configure --prefix=/usr/local/freetds --with-unixodbc=/usr/local/odbc
make ; make install ;


¢Ñ1> freetds.conf ¼öÁ¤
.....
.....

[sql151]
        host = xxx.xxx.xxx.151
        port = 1433
        tds version = 8.0

¢Ñ tds.driver.template µå¶óÀ̹ö ÆÄÀÏÀÇ ¼³Á¤

[freeTDS]
Description     = v0.52 with protocol v4.2
Driver          = /usr/local/freetds/lib/libtdsodbc.so

¢Ñ odbcinst -i -d -f tds.driver.template


¢Ñ tds.datasource.template

[idc151]
Driver          = freeTDS
Description     = IDC 151 svr
Trace           = No
Servername      = sql151
Database        = PSERP

¢Ñ odbcinst -i -s -f tds.datasource.template
 
¢Ñ /etc/odbcinst.ini È­ÀÏ
 
[ORACLE]
Description             = Easysoft ODBC Oracle Driver
Driver          = /usr/local/easysoft/oracle/libesoracle.so
Setup           = /usr/local/easysoft/oracle/libesoraclesetup.so
FileUsage               = 1

[FreeTDS]
Description             = FreeTDS unixODBC Driver
Driver          = /usr/local/freetds/lib/libtdsodbc.so
UsageCount              = 1


¢Ñ freeTDS ÀÇ Å×½ºÆ®

- tsql -H sql151 -p 1433 -U sa

- tsql -S idc151 -U sa

- unixodbc ¿¡¼­ Å×½ºÆ®
  /usr/local/odbc/bin/isql -v idc151 sa MyPassword



Test tsql of FreeTDS, e.g.:
tsql -S Kana -U 'username' -P 'password'
locale is "C"
locale charset is "646"
1> use Northwind
2> go
1> select * from mies
2> go
aap
mies
1>quit

Test isql of unixODBC:
isql -v Kana 'username' 'password'
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> select * from mies;
+-----------+
| aap |
+-----------+
| mies |
+-----------+
SQLRowCount returns 1
1 rows fetched
SQL> quit


È£¼®
121.¢½.39.7
6. freetds 0.64 ¼³Ä¡
// ¸®´ª½º ¼­¹ö¿¡¼­ À©µµ¿ì MS-SQL Á¢¼ÓÀ» À§ÇØ ÇÊ¿äÇÑ ÇÁ·Î±×·¥

 

./config
make
make install

 

etc/freetds.conf ¿¡¼­..
tds version = 8.0 º¯°æ
CHAR_SET = utf-8 Ãß°¡
[Ãâó] APM ¼Ò½º ÄÄÆÄÀÏ ¼³Ä¡ (¸®´ª½º) |ÀÛ¼ºÀÚ ºÎ½ºÅÍ
10-07-06 16:44


¸ñ·Ï

ºÐ·ù ¼±ÅÃ
36 ÀÏ¹Ý ÀÓÀÇ·Î rownum À» Ãß°¡Çؼ­ ÀϷùøÈ£ ¹ß»ý »ç¿ë Äõ¸®¹® È£¼® 06-02-17 4057
35 ÀÏ¹Ý ¿À¶óŬ NLS CHARSET º¯°æ ¹æ¹ý (1) È£¼® 06-02-16 4766
  ÀÏ¹Ý    ¿À¶óŬ NLS CHARSET º¯°æ ¹æ¹ý È£¼® 06-02-22 6959
34 ÀÏ¹Ý Æ®¸®°Å ¹®Àå º¸±â ( ¸ù¶¥ ) È£¼® 05-12-27 3769
  ÀÏ¹Ý    [sql] Å×À̺íÀÇ Á¤º¸°¡Á®¿À±â& ±âŸ Á¤º¸ °¡Á®¿À±â Å×À̺í (1) È£¼® 06-01-13 5220
33 ÀÏ¹Ý Áõ°¡Çϸ鼭 Çհ踦 ±¸ÇÏ´Â Äõ¸®¹® È£¼® 05-12-07 3821
  ÀÏ¹Ý    Áõ°¡Çϸ鼭 Çհ踦 ±¸ÇÏ´Â Äõ¸®¹® ( ¿¹Á¦Ãß°¡) È£¼® 05-12-07 3335
32 ÀÏ¹Ý ½Ã³ë´Ô(Synonym) ÀÏÁ¾ÀÇ ¾Ë¸®¾î½º ±â´É È£¼® 05-11-18 5489
31 ÀÏ¹Ý MicroSoft SQL 2000 °ú PHP ¿¬µ¿Çϱâ È£¼® 05-11-12 3435
30 ÀÏ¹Ý ¸®´ª½º apache, php ¿¡¼­ mssql connecting Çϱâ È£¼® 05-11-12 4330
29 ÀÏ¹Ý ¿À¶óŬ Æ÷·³ ¿µ¹®½ÎÀÌÆ® È£¼® 05-11-12 3405
28 ÀÏ¹Ý freetds ¼³Ä¡ È£¼® 05-11-10 3807
ÀÏ¹Ý    freetds ¼³Ä¡ »ó¼¼¹æ¹ý (1) È£¼® 05-11-11 7264
27 ÀÏ¹Ý ¿À¶óŬ¿¡¼­ MS SQL Server 2000 Á¢¼Ó¹æ¹ýÀÔ´Ï´Ù. È£¼® 05-11-09 5508
  ÀÏ¹Ý    ¿À¶óŬ¿¡¼­ MS SQL Server 2000 Á¢¼Ó¹æ¹ýÀÔ´Ï´Ù. È£¼® 05-11-09 4670
óÀ½ÀÌÀü  [1] [2] [3] [4] [5] [6] [7] 8 [9] [10]  ´ÙÀ½¸Ç³¡

 
Copyright © zenos.pe.kr. All rights reserved.