0% found this document useful (0 votes)
20 views

Howtoconnect JMPwitha Postgresdatabase

This document provides step-by-step instructions for connecting JMP software to a PostgreSQL database and importing data from the database for visualization. It describes downloading and installing the PostgreSQL ODBC driver, creating a new database connection in JMP by specifying the data source name, server, port, username and password, testing the connection, and then importing tables from the connected database for use in JMP graphs and visualizations.

Uploaded by

vaidish1
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Howtoconnect JMPwitha Postgresdatabase

This document provides step-by-step instructions for connecting JMP software to a PostgreSQL database and importing data from the database for visualization. It describes downloading and installing the PostgreSQL ODBC driver, creating a new database connection in JMP by specifying the data source name, server, port, username and password, testing the connection, and then importing tables from the connected database for use in JMP graphs and visualizations.

Uploaded by

vaidish1
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

How to connect JMP with a Postgres database

So you can pull in test data for visualization without exporting CSVs.

Step-by-step guide
Download and install the library to talk to the PostgreSQL DBMS using ODBC

1. Go to https://www.postgresql.org/ftp/odbc/versions/msi/.
2. Download the latest installer. Be sure to choose the correct bit version that correlates to the JMP version (check which Program Files
directory JMP was installed in).
3. Run the installer.

Create a database connection in JMP

1. Open JMP and navigate to File>Database>Query Builder.


2. Choose 'New Connection...' and click on the 'Machine Data Source' tab.
3. Click on 'New...' and it will probably give you a warning dialog. This is in case you wanted to create a data source available to all users on
your machine. To enable this, run JMP as administrator. This should only be applicable to shared machines.
4. Click 'Next' and choose 'PostgreSQL Unicode'. Click 'Next' and 'Finish'.
5. Fill in the connection information. Data source is the name of the connection. Name it something easy to remember and relating to the
database name. Database is the database name (ie. chardb, appdb), server is the host address for condor (condor.corp.chirpmicro.com),
port 5450, username and password should be the Postgres database user login info. I used the 'dbuser_test' user. *****updated for
condor, pictures are out of date but process remains the same********
6. Click 'Test' to test the connection. If it fails, check your inputs.
7. Once the test is successful, you can save.
8. Choose your new data source and click 'OK'. The connection window will open again just to verify. Click 'OK'.
9. Your new connection to the database has been created.

Import data from the database connection

1. From the 'Select Database Connections' window, choose the connection you just created or an existing one. To choose a connection you
created before, click 'New Connection...', 'Machine Data Source', and locate the connection from the list.
2. A query window will show. You can choose which tables you want to query and preview the data you will be able to use by clicking
'Preview Join'.
3. You can speed up adding related tables by clicking the 'Add Related Tables' button which will auto add tables referenced by foreign key.
4. Click 'Import Now' to import the table data. You can now use the data to graph!
Related articles
How to connect JMP with a Postgres database

You might also like