how to use the greensql to monitor the java+mysql web application

2 replies
peng
peng's picture
Joined: 03/30/2009
User offline. Last seen 1 year 1 week ago.

hello,
I have created my own mysql database and use the green-fw to filter the sql-queries,it is indeed a good tool .
But I want to config it for the java+mysql web application,I don't know how and where to change the port 3306 to 3305,could you tell me about it in detailed?
thank you,

yuli
yuli's picture
Joined: 01/30/2008
User offline. Last seen 2 days 1 hour ago.

Hello

If you have access to the application code you probably just need to add 3305 as a mysql connection string.

Here is an example of the connection string used by Java applications:
jdbc:mysql://host:port/database
You can fine detailed explanation here:
http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configurati...

If Java application code is not available, look for configuration file and specify 3305 as a mysql port.

peng
peng's picture
Joined: 03/30/2009
User offline. Last seen 1 year 1 week ago.

oh,Thank you!!

Back to top