how to use the greensql to monitor the java+mysql web application
Tue, 04/21/2009 - 01:46
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,
GreenSQL
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/databaseYou 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.
oh,Thank you!!