You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use the ODBC driver from inside a notebook you need to connect to the compatible database with the
46
+
```LOAD``` magic and the related driver.
47
+
48
+
For example:
49
+
50
+
.. tabs::
51
+
52
+
.. group-tab:: PostGreSQL (to be tested)
53
+
54
+
Once the `PostGreSQL driver <https://odbc.postgresql.org/>`_ installed
55
+
56
+
.. code-block:: bash
57
+
58
+
%LOAD odbc DRIVER=<path to the pgsql driver>;DBQ=<hostname>:<port>/<database>;UID=<user>;PWD=<password>
59
+
60
+
.. group-tab:: Oracle
61
+
62
+
Once the `Oracle driver <https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-Oracle-from-RHEL-or-Centos#install-the-oracle-instant-client-odbc-driver-for-linux>`_ installed
63
+
64
+
.. code-block:: bash
65
+
66
+
%LOAD odbc DRIVER=<path to the oracle driver>;DBQ=<hostname>:<port>/<SID>;UID=<user>;PWD=<password>
67
+
68
+
Oracle does not distribute debian based packages but the driver can be installed on any Linux distribution via the
69
+
`available zip archives <https://www.oracle.com/europe/database/technologies/instant-client/linux-x86-64-downloads.html>`_.
0 commit comments