Jump to content
Changes to the Jaspersoft community edition download ×

Connect a db to JasperReports vía IP.


gab_lpc

Recommended Posts

I have the ip of my db but I don´t have the server. I need to connect my report to that db so I can run it. Can someone help me with this?

The USER_ID, SITE_ID and SITE_NAME should come from that DB.

Thanks!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hello 

If you  have build a report using studio you need to have data adapter to run report. Please refer below guide to create data adpter connection:
https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v8/data-adapters
 
If you are on Jasperserver you need to create data source connection where you can pass host,port and table name where those fields are present. Refer chapter 4 from below guide:
https://community.jaspersoft.com/documentation/v8-v80-v800/tibco-jasperreports-server-administrator-guide
https://community.jaspersoft.com/wiki/connecting-jasperreports-server-your-database#:~:text=1.0%20%2D%20Chapter%204.1.-,Introduction,files%20and%20custom%20data%20sources.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...