0

sorry my english. My mysql server and tomcat server are running localhost, And my gwt web application is running correctly on Localhost, Then my web application connected mysql database. Then I deployed my web application (.war file) to another tomcat server(linux), it cannot connect to mysql (windows server) server. why?

1 Answer 1

0

In your tomcat configuration file, you specified "localhost" as your database server. Change that to the hostname of the MySQL server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.