bbromonti Posted September 21, 2010 Share Posted September 21, 2010 Hi,I use iReport with Jasper and i have found 2 places to configure the database connection, but it still points to another machine.It sounds crazy for me ??!?!?!?!?!?!??!?!?!?!?!I set the connection details both in the database icon and the data sources folder.Does anybody has an idea? Link to comment Share on other sites More sharing options...
shivareddyk Posted September 23, 2010 Share Posted September 23, 2010 u can check ur Database icon JDBC URL connection and Server Address. that should be point to corresponding database and same time confogID exp:if the database is ur local it should point ur JDBC URL connection and Server Address as localhost JDBC URL: jdbc:mysql://localhost/icbadwhServer Address as : localhost if it's different system u should keyin localhost as that system configID. if still u got problem give screen shot's of those two connection settings. All the best.. Link to comment Share on other sites More sharing options...
bbromonti Posted September 24, 2010 Author Share Posted September 24, 2010 Thank you for your answer.The configuration in iReport is perfect.BUT i have discovered that on the web-browser-interface of Jasper the database connection was set to Locally Defined with the wrong IP and not to the From the Repository.I have changed it to the "From the repository" and now really points to the correct BD. 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