fabiobasso Posted November 1, 2010 Share Posted November 1, 2010 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 More sharing options...
jimmo Posted November 2, 2010 Share Posted November 2, 2010 Does your database contain CLOBs? Ours does and we had to include the table name and column name in double quotes: select "column1","column2" from "tablename" Link to comment Share on other sites More sharing options...
mdahlman Posted November 2, 2010 Share Posted November 2, 2010 fabiobasso,I don't know Informix. With MySQL this is a valid url:jdbc:mysql://localhostBut 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/foodmartWhat is your JDBC url? Does it specify a database?Regards,Matt Link to comment Share on other sites More sharing options...
fabiobasso Posted November 3, 2010 Author Share Posted November 3, 2010 Hi, My URL is jdbc:informix-sqli://192.168.0.242:1527:informixserver=dadfiasini Link to comment Share on other sites More sharing options...
fabiobasso Posted November 3, 2010 Author Share Posted November 3, 2010 Hi, The problem was the url... :) incorrect: jdbc:informix-sqli://192.168.0.242:1525:informixserver=prdfiasini correct: incorrect: jdbc:informix-sqli://192.168.0.242:1525:informixserver=prdfiasini Thanks for all Link to comment Share on other sites More sharing options...
gramberg Posted November 4, 2010 Share Posted November 4, 2010 Hi, what was the correct URL ? you posted the incorrect version twice Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now