To set up a PostgreSQL datasource for ColdFusion (CFMX), follow these steps:
- Open CFMX administrator
- Click on “Data Sources”
- In the “add new datasource” write in a name and select “other” before clicking “add”
- Fill our the fields as follows:
CF Data Source Name: JDBC URL: jdbc:postgresql://DB_server_fqdn:5432/ (as per Pedro's comment) Driver Class: org.postgresql.Driver Driver Name: PostgreSQL Username: db_user_name Password: ****** Description:
- Click submit
- Test connection (Status shoudl say “OK”)
