I have an application hosted in a tomcat 7 server in Digital Ocean droplet (VPS).
The application is running smoothly. But it's not connecting to the database anyway. I think the connection string I used for localhost while developing the application is not helping at all. It should not
I want to get an specific example of the connection string for digital ocean VPS.
Any short of help would be appreciated. Thanks in advance!
Added error messages:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) javax.servlet.http.HttpServlet.service(HttpServlet.java:620) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'advocatoree.Employee' doesn't exist