Error "unknown function set_config" connecting to Postgres database server using pgAdmin - pgadmin-4

I get the following error while trying to connect to Postgres server 9.1.4. What am I missing? I am using pgAdmin 4 version 5.5
Thnaks

From their front page
pgAdmin may be used on Linux, Unix, macOS and Windows to manage PostgreSQL and EDB Advanced Server 9.5 and above.
9.1.4 is much older than that.

Related

Can we connect to any version of oracle using cx_oracle library python?

I am trying to write a script to connect to all version's of oracle database starting from the latest to the oldest version of database.
I tried myself with cx_oracle library found like it needs a client library in the local to connect to remote database like if I download the latest version then it will work up to latest few versions not all.
Also tried with Sqlalchemy connection which is also using cx_oracle libraries.
Please do guide me if am doing anything wrong? I would also like to hear if there are any other ways to connect to the database using PYTHON
cx_Oracle 6 and higher already support connecting to any Oracle database from 9i all the way up to 18c depending on the client that you are using. cx_Oracle requires Oracle Client libraries at least at 11.2. You can see the interoperability notes here. Since anything earlier than 11.2 is no longer supported anyway, that should be adequate in almost all circumstances.
You can also use ODBC to connect to the database but that won't perform as well as cx_Oracle does.
I have an 11.2 Oracle database client on my corporate Windows 7 laptop and use cx_Oracle to connect to databases from version 9.2 to 12.2 without any difficulty.
The other way I connect to databases of all versions is to wrap Python around the Linux version of Oracle's sqlplus utility. This way I do not need to install cx_Oracle and can run with an older Oracle client and the version of Python that comes with the Linux distribution. In my case I am running on Redhat 6 which comes with Python 2.6. I connect to databases from version 8.1 to 12.2 in this way.
I have a blog post about how I run sqlplus from Python on Linux: https://www.bobbydurrettdba.com/2016/11/04/running-sqlplus-from-a-python-script/
Bobby

Trying to connect to an Oracle server v9.2.0.8 with the pycharm database tool

I'm trying to use the PyCharm database tool to look at a couple of Oracle databases. The first database is an Oracle 11 database and connects with no problems. The second database, however, is an Oracle 9i database and is giving me issues. When i try to connect to it I get an error message that says
Unsupported combination of server/driver versions: found Oracle server version 9.2.0.8 with JDBC driver version 12.1.0.2 that is not compatible. Oracle server version 9.x must be connected by JDBC driver versions 9.x to 11.x..
I've tried finding where pycharm keeps the JDBC drivers but have had no luck. If someone could point me in the right direction I would be very grateful. I would also appreciate it if someone could point me towards where I can download drivers that will work with the Oracle 9i and 11(g i think?) databases.
I'm on windows 10 64 bit and using PyCharm 2016.2.3.
I have been using Oracle Server 9i- 9.2.0.4.
To query on this server I am using Jet Brains DataGrip.
It showed me the same error and then I changed driver jar of ojdbc6-x.x.x with
ojdbc14-9.2.0.1.jar and then It started working fine on DataGrip.
Hope this will be helpful.
Download ojdbc14-9.2.01 and configure it on your local Database management tool.
http://www.java2s.com/Code/Jar/o/Downloadojdbc149201jar.htm

Connect Netbeans 8 to SQL Server 2014?

Win 8.1
Netbeans 8.0.2
SQL Server 2014
I'm trying to create a (very) small project -- Nothing huge, just get data from SQL Server to Netbeans.
Problem is I can't seem to get a connection. Nor can I find any information about how to connect these versions. I've tried following steps to connect older Netbeans to older SQL versions, but nothing works. I just get errors compiled by more errors. Google has not been my friend here :-(
Anyone out there know a step-by-step resource that can connect Netbeans 8 to SQL 2014?
Or am I trying to do something regarded as impossible?
Thanks,
Jason
FYI -- SQL is setup for Windows Authentication.

Error: ORA-12154 SQL Server Link Server with Oracle 11g in Windows Server 2012 R2

I need to create Link Server in SQL Server 2012 Enterprise 64 using Oracle ODAC.
I have done everything I know, including multiple re-installation of Windows Server 2012 Standard R2 64. The ODAC is also 64bit.
I am able to connect to Oracle 11g using Oracle SQL Developer using TNS as Connection Type.
I am beginning to think this may have something to do with Windows Server. Because I have never experience this issue on other systems not running Windows Server.
I get this error:
returned message "ORA-12154: TNS:could not resolve the connect identifier specified.
Thanks
After combining through hundreds of internet posts and install/reinstall. I discovered the problem was the ORACLE ODAC Components. Every article on the internet tells you to install 64bit ODAC if you are running 64bit database, however, this is not accurate.
After spending two days trying to get this to work, I decided to try the 32bit ODAC and it worked.
In case anyone is having this same issue.

Linux + Django + SQLServer

I am writing a Django application which needs to intereact with a SQLServer Database. I use the Django MSSQL Backend ADO.
I am trying to use it in a Linux machine (CentOS 6.4), but for the moment I am not able to establish the connection.
Anyone has suceeded on it or knows if it is possible to connect to django-mssql from a Linux environment?
Note: I've found this question but it is quite old. I am looking for an up-to-date answer.
Edit: The error I am receiving is the following. Remark that it is a Linux machine.
django.core.exceptions.ImproperlyConfigured: 'sqlserver_ado' isn't an available database backend.
Edit 2: PyWin32 is a requirement for the django-mssql package. But is possible any workaround for Linux?
Django-MSSQL only works on Windows, hence the pywin32 dependency (Actually, anything ADO is Windows dependent since it's built on Microsoft's ActiveX).
Try Django-SQLServer. It's based on Django-MSSQL but can pass info using python-tds which is not platform specific.
I will suggest to use django-pyodbc-azure instead of Django-MSSQL
Supports Django 2.0.3
Supports Microsoft SQL Server 2008/2008R2, 2012, 2014, 2016, 2017 and Azure SQL Database
Compatible with Micosoft ODBC Driver for SQL Server, SQL Server
Native Client, and FreeTDS ODBC drivers

Resources