I trying to connect to GCP Postgres. The most convenient method my environment has is an ODBC driver. Will GCP serve that type of connection?
That should work. The server doesn't know it is talking to an ODBC driver. It speaks its native protocol, it is up to the ODBC driver to interpret that.
Related
We are using Oracle server and we need to fetch data from MongoDB. As RHEL 7 is supported for installing MongoDB drivers, and the one we use is RHEL 6.9. So drivers are not installed and dblink was not created. We are looking for other options to access this MongoDB server from Oracle server.
Please need help here.
This will be a challenge because Oracle is a relational database whereas MongoDB is "NoSQL". A native connection is not possible.
Look for a MongoDB ODBC Driver, e.g.
MongoDB ODBC Driver
Progress DataDirect ODBC Driver for MongoDB
devart ODBC Driver for MongoDB
CData MongoDB ODBC Driver
easysoft MongoDB ODBC Driver
Once you installed one of them, use the Oracle Database Gateway for ODBC to access the MongoDB via the ODBC driver.
The configuration of this can be tricky, but it should be possible.
Almost any popular programming language is able to connect to an Oracle database as well to connect to MongoDB. So, you can write a program/script which copies data from one database to the other. However, if you like to use direct connection (i.e. database link in Oracle) the you have to use one of these ODBC driver.
In combination with the Oracle Gateway for ODBC, you solve this problem via any of the following solutions:
ODBC or JDBC (via ODBC-to-JDBC Bridge) Drivers and Oracle's Database Integrator for ODBC
ODBC- and/or JDBC-compliant Data Virtualization Platform
ODBC Driver and Oracle Data Integration (ODI) Gateway
Attach Oracle to MongoDB Driver. You can use a native JDBC driver, or a JDBC-to-ODBC Bridge Driver plus a native ODBC driver
Perform your Data Manipulation operations via ODI
OpenLink JDBC-to-ODBC Bridge Drivers provide enhanced DBMS virtualization that increases compatibility between JDBC client apps and 3rd party ODBC Drivers.
Data Virtualization Platform Solution
Here's how it works, given that you have ODBC access to each of Oracle and MySQL Database Management Systems (DBMS), using either a native ODBC Driver or a native JDBC Driver with an OBDC-to-JDBC Bridge:
Attach the Data Virtualization Platform to the MongoDB instance
Attach the Data Virtualization Platform to the Oracle instance
Perform your Data Manipulation (DML) operations on Data managed by either DBMS, as though they were in local tables in the Data Virtualization Layer
Our Virtuoso Multi-Model Database Management and Virtualization Platform is an example of a Data Virtualization solution that operates in the manner described above.
Related
Data Virtualization for Beginners
OpenLink ODBC-to-ODBC Bridge Drivers — increase compatibility of third party ODBC Drivers with Oracle's ODBC Gateway
OpenLink JDBC-to-ODBC Bridge Drivers — enable use of third party ODBC Drivers with Oracle's ODI middleware
OpenLink JDBC-to-JDBC Bridge Drivers — increase compatibility of third party JDBC Drivers with Oracle's ODI middleware
OpenLink ODBC-to-JDBC Bridge Drivers — enable use of third party JDBC Drivers with Oracle's ODBC Gateway
Using Oracle's ODI and the OpenLink JDBC-to-ODBC Bridge to connect to Microsoft Excel data sources
Virtuoso Data Virtualization Platform
I´d like to know if it is possible to connect to my rds database from my local machine (windows) using windows odbc data source. My problem is that I use SSH and i don´t know how can I input the parameters in odbc data source. I need this type of connection because I want to access RDS via vba excel. My database is Postgresql.
If you have a publicly accessible database (not recommended by AWS) and your IP address is allowed, then the normal ODBC connection will work.
By the sound of your setup, you have a private database. In which case, your options are:
Use a different ODBC driver that supports tunnelling.
Devart (https://www.devart.com/odbc/postgresql/) and Cdata (https://cdn.cdata.com/help/FPG/odbc/RSBPostgresql_c_SSH.htm) both have ODBC drivers that support SSH tunnelling.
Neither are free.
Use a VPN and point your driver at localhost
I've started to read about protocols (HTTP/TCP/IP etc.).
I have a few questions.
How does pgAdmin connect to the server? Which protocol does it use? Am I able to connect to the DB server via cmd? How do drivers connect to the DB server?
They use the well documented PostgreSQL frontend/backend protocol.
I have a Windows VM on my desktop that has Tableau-Desktop loaded. I have a mongoDB instance on my EC2 instance and want to be able to connect my desktop Tableau with my EC2 instance.
I'm using the Simba ODBC connector. I started to install the linux drivers onto my EC2 RHEL server but Simba support said that I should look into AWS Simba drivers and contact AWS support.
If I use ODBC option from Tableau I don't know how I would specify the .mem SSL key file to get access to my EC2 instance. Can anyone point me in the right direction?
Thanks.
I've asked this question on serverfault and someone told me to ask here.
Can I make a connection to a PostgreSQL server using FreeTDS, more specifically using the tsql command?
I've been trying for a few days now, using many different configurations. Even though I am able to connect to the DB using isql and PostgreSQL odbc driver, I can't make it work using tsql (it also doesn't seem to use odbc.ini or odbcinst.ini). So, I was wondering if the tsql command only works with SQL Server.
If you want, I can post the files freetds.conf, odbc.ini and odbcinst.ini.
Thanks.
FreeTDS only supports the TDS protocol (hence the name). And this protocol is only implemented by Microsoft SQL Server and the Sybase database.
So, no you can not use FreeTDS to connect to a Postgres database.
You need to use the Postgres ODBC driver, the Postgres .Net driver or the Postgres JDBC driver to do this - depending on the programming language of your application. From a C program you can also connect to Postgres directly using the libpq library.