Code: Select all
IgorsGentoo /usr/share/postgresql-13 # cat /etc/unixODBC/odbcinst.ini
Trace=yes
TraceFile=/tmp/sql.log
[PostgreSQL]
Description=PostgreSQL drver
Driver=/usr/lib64/psqlodbcw.so
IgorsGentoo /usr/share/postgresql-13 # cat /etc/unixODBC/odbc.ini
[PostgreSQL]
Driver=PostgreSQL
Server=localhost
PORT=5432
DATABASE=draft
OOPTION=3
USER=postgres
PASSWORD=wasqra
IgorsGentoo /usr/share/postgresql-13 #
Code: Select all
igor@IgorsGentoo ~/dbhandler_new/Debug/dbhandler $ isql -v PostgreSQL postgres wasqra
[IM002][unixODBC][Driver Manager]Data source name not found and no default driver specified
[ISQL]ERROR: Could not SQLConnect
igor@IgorsGentoo ~/dbhandler_new/Debug/dbhandler $
Code: Select all
igor@IgorsGentoo ~/dbhandler_new/Debug/dbhandler $ ls -la /tmp/
total 54892
drwxrwxrwt 9 root root 4096 Feb 26 02:32 .
drwxr-xr-x 21 root root 4096 Nov 23 16:15 ..
drwxrwxrwt 2 root root 4096 Nov 23 04:55 .ICE-unix
-r-------- 1 igor igor 56154080 Dec 8 03:26 mysql-5.7.32.tar.gz
drwx------ 2 igor igor 4096 Nov 23 04:55 plasma-csd-generator.lzhjPj
-rw------- 1 igor igor 168 Nov 23 04:55 serverauth.YmVP5sLD7a
drwx------ 3 igor igor 4096 Dec 1 00:09 Temp-617a0e2d-a1d0-4a41-9170-a648fbea276e
drwx------ 2 igor igor 4096 Dec 27 14:59 tmp.mXhrbHkLYs
drwx------ 2 igor igor 4096 Dec 6 14:38 tmp.oYuHPjV2MY
drwx------ 2 igor igor 4096 Nov 23 21:00 tmp.UPGWkilxF6
-rw------- 1 igor igor 978 Nov 23 04:55 .touchpaddefaults
-r--r--r-- 1 igor igor 11 Nov 23 04:55 .X0-lock
drwxrwxrwt 2 root root 4096 Nov 23 04:55 .X11-unix
-rw------- 1 igor igor 56 Nov 23 04:55 xauth-1000-_0
igor@IgorsGentoo ~/dbhandler_new/Debug/dbhandler $
1. Why I can't connect?
2. Why no log file is created?
Thank you.


