Jump to content
Changes to the Jaspersoft community edition download ×

iReport to conect with Informix but don\'t list fields


fabiobasso

Recommended Posts

Hi,

 

  I need to connect the Informix Database (11.50). The connection in the "Database JDBC connection" is ok, when click in the button "Test", show the message "Connection test succesful!", but for to create a new report, in the windows "Report query", show the message: "Error: SQL Problems: Database not selected yet."

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

fabiobasso,

I don't know Informix. With MySQL this is a valid url:
jdbc:mysql://localhost

But it's uncommon. The test will work fine. But it won't work when I try to select * from some_table. A more common (and better) url is this with a database specified:
jdbc:mysql://localhost/foodmart

What is your JDBC url? Does it specify a database?

Regards,
Matt

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...