User Tools

Site Tools


general:linux:unixodbc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general:linux:unixodbc [2022/04/11 07:59] sunkangeneral:linux:unixodbc [2022/04/11 08:05] (current) sunkan
Line 12: Line 12:
 <code> <code>
 root@web:~# odbcinst -i -s -l -r << EOF root@web:~# odbcinst -i -s -l -r << EOF
-[DSNName]+[DSNName]
 Driver          = FreeTDS Driver          = FreeTDS
 Description     = Describe connection Description     = Describe connection
Line 30: Line 30:
 Trace      = Yes Trace      = Yes
 Trace File = /tmp/sql.log Trace File = /tmp/sql.log
 +</code>
 +
 +Or by setting DumpFile in /etc/odbc.ini
 +<code>
 +[THE_DSN_NAME]
 +...
 +DumpFile=/tmp/sqldump.log
 </code> </code>
  
general/linux/unixodbc.txt · Last modified: 2022/04/11 08:05 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki