Advertisement
Guest User

Untitled

a guest
Sep 28th, 2017
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. [general]
  2. Description=MySQL connection to database
  3. Driver = MySQL
  4. Server = localhost
  5. Database = test
  6. Username = root
  7. Password = mypass (changed it for the question)
  8. Port = 3310
  9. Socket= /var/lib/mysql/mysql.sock
  10.  
  11. # odbcinst -q -d
  12. [PostgreSQL]
  13. [MySQL]
  14.  
  15. # echo "select 1" | isql -v general
  16. +---------------------------------------+
  17. | Connected! |
  18. | |
  19. | sql-statement |
  20. | help [tablename] |
  21. | quit |
  22. | |
  23. +---------------------------------------+
  24. SQL> select 1
  25. Segmentation fault (core dumped)
  26.  
  27. # Driver from the postgresql-odbc package
  28. # Setup from the unixODBC package
  29. [PostgreSQL]
  30. Description = ODBC for PostgreSQL
  31. Driver = /usr/lib/psqlodbcw.so
  32. Setup = /usr/lib/libodbcpsqlS.so
  33. Driver64 = /usr/lib64/psqlodbcw.so
  34. Setup64 = /usr/lib64/libodbcpsqlS.so
  35. FileUsage = 1
  36.  
  37.  
  38. # Driver from the mysql-connector-odbc package
  39. # Setup from the unixODBC package
  40. [MySQL]
  41. Description = ODBC for MySQL
  42. Driver = /usr/lib/libmyodbc5.so
  43. Setup = /usr/lib/libodbcmyS.so
  44. Driver64 = /usr/lib64/libmyodbc5.so
  45. Setup64 = /usr/lib64/libodbcmyS.so
  46. FileUsage = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement