# Install PostgreSQL JDBC driver on WildFly Server

In 
Published 2022-12-03

This tutorial explains to you how to install an PostgreSQL JDBC driver in WildFly.

Before creating a Datasourse on WildFly for a ProsgreSQL database, you have to install the JDBC driver for that PostgreSQL database version. For this, you have to go here and download the appropriate PostgreSQL JDBC driver. In my case I will download postgresql-9.4.1212.jar driver.

I will put postgresql-9.4.1212.jar file somewhere, in C:\drivers_for_wildfly for instance.

From a Windows machine I will access the WildFly Server using the Administration Console, in my case I used http://192.168.181.131:9991/console link. I will see :

Click on "Deployments".

Click on "Add".

Choose "Upload a new deployment" and click on "Next".

Click on "Choose a File" and you will choose C:\drivers_for_wildfly\postgresql-9.4.1212.jar file (this location is the location of the sqljdbc driver).

Click on "Next".

Click on "Finish". And you will see something like this:

At this moment the JDBC Driver for PostgreSQL (postgresql-9.4.1212.jar) on WildFly is installed.