MYSQL -connection to database unknown
I am using Struts and Hibernate for my web application. And also i have installed Glassbox to troubleshooting my java application. Backend database is MYSQL 5.1.
The problem is I can not able to get Glassbox's query stack. Instead i am getting error like
"connection to database unknown".
But if i connect my 开发者_StackOverflowapplication with sql server database, query is shown.
What is the issue in here?
I fixed this. Glassbox will not print query stack for MYSQL. So i migrate my mysql query to sql server. Now it is working fine.
can you check the connection string and then verify whether the given database is there?
精彩评论