This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Hi Sorry if my question seems silly..it should be very basic to experts like you
I want to create a mysql database that I will later connect to from a servlet under apache tomcat server. my question : where should i put the mysql database ? should it go into WEB-INF directory of my application ? what is the mysql SQL command i should type to put db int the right directory ?
Maximilian Xavier Stocker
posted 10 years ago
When you connect to a MySQL database you connect to a server not the files directly. So the location of the actual files is not relevent. It only matters to your application that you can reach the mysql server through a socket from wherever you are running.
Are you confused about where to have the driver jar?