elimesika Posted May 6, 2009 Share Posted May 6, 2009 HI I need the connection string to the JasperServer MySQL DB Thanks Link to comment Share on other sites More sharing options...
phlunk3 Posted May 6, 2009 Share Posted May 6, 2009 I use the driver class name: com.mysql.jdbc.Driverand as for connection url I have "jdbc:mysql://"SERVERURL:SERVERPORT/"databasename"Hope this helps although it is for jasper workbench and not the actual server I presume it is somewhat similar. Link to comment Share on other sites More sharing options...
elimesika Posted May 6, 2009 Author Share Posted May 6, 2009 ThanksBut what are the specific parameter values for the JasperServer repository (dbname, user & password) Link to comment Share on other sites More sharing options...
anandharaj Posted May 8, 2009 Share Posted May 8, 2009 Where do you defining this? In JasperServer UI? Link to comment Share on other sites More sharing options...
elimesika Posted May 11, 2009 Author Share Posted May 11, 2009 HI I want to connect to the MySQL repository using an external tool, what is the connection string I should use? Link to comment Share on other sites More sharing options...
anandharaj Posted May 12, 2009 Share Posted May 12, 2009 If you are using JDBC, the setting should be like below:Driver class name: com.mysql.jdbc.DriverConnection URL: jdbc:mysql://localhost/databasename?user=yourusername&password=yourpasswordHope this is wht you looking for Link to comment Share on other sites More sharing options...
elimesika Posted May 12, 2009 Author Share Posted May 12, 2009 HI AgainSorry for the misunderstanding .....I will try to ask again .... I have downloaded an external tool that can connect to MySQL DBI did that in order to look on the Jasper Server repository schema and data.What I need to know is1) What is the name of the Jasper Servre database2) What is the user name I can use to connect to this database3) What is the password I can use to connect to this databaseThanks Post Edited by elimesika at 05/12/2009 22:12Post Edited by elimesika at 05/12/2009 22:12 Link to comment Share on other sites More sharing options...
swood Posted May 12, 2009 Share Posted May 12, 2009 If you have a working version of JasperServer, you need to use the values you set when you installed. Have a look in the web application META-INF/context.xml ShermanJaspersoft Link to comment Share on other sites More sharing options...
elimesika Posted May 12, 2009 Author Share Posted May 12, 2009 HI I am usingHost : 127.0.0.1Schema : jasperserverUser : jasperdbpassword : password and still got a connection error Link to comment Share on other sites More sharing options...
anandharaj Posted May 13, 2009 Share Posted May 13, 2009 If your tool not on the same server where the Jasper DB is running, than use the actual IP address instead of localhost / 127.0.0.1 Link to comment Share on other sites More sharing options...
elimesika Posted May 13, 2009 Author Share Posted May 13, 2009 HI again and thanks for your help.I am running the tool from the local machine where the jasperserver is installed.I have looked at the context.xml file and the entry for the jasperserver repository looks as<Resource name="jdbc/jasperserver" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="jasperdb" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/jasperserver?useUnicode=true&characterEncoding=UTF-8"/>and still , I can not connect to the database Got MySQL error Number 2003 Link to comment Share on other sites More sharing options...
anandharaj Posted May 13, 2009 Share Posted May 13, 2009 Simple way, test the connection from other SQL tool like SquirrelSQL just to be sure no issues on DB. What tool actually you wanted to use? Link to comment Share on other sites More sharing options...
elimesika Posted May 13, 2009 Author Share Posted May 13, 2009 HI I have downloaded & installed SquirrelSQL , its working, Thanks for your help....I 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