facing problem in database connectivity in java to mysql
Expand Post »
please help me to resolve the databasbase connectivity problem in java for mysql .i am using jdk 1.5 ,if there is need to put a file then please mention where it should be copied ,and i am writing the code and error occuring that code.
Re: facing problem in database connectivity in java to mysql
you need to set the classpath.
copy the mysql-------.jar to in working directory and set the classpath.
set classpath=%classpath%;<your mysql-----.jar place path>;.;
please help me to resolve the databasbase connectivity problem in java for mysql .i am using jdk 1.5 ,if there is need to put a file then please mention where it should be copied ,and i am writing the code and error occuring that code.
Re: facing problem in database connectivity in java to mysql
Hi..........in general what you can do is .....create one lib folder in your project and copy the driver file for connection in that and set calss path to your lib folder...........
set classpath ....u have to do this stem into system variables
My computer -: properties -: Advanced -:Environment variables
Re: facing problem in database connectivity in java to mysql
Unfortunately for us, our friend muskan made so many post about his problem on this forum that I lost track of which post is from which day or time. What I say for the sake of it is, I gave answer for this problem too, this was directly to Java Sun tutorial site explaining seting up PATH and CLASSPATH.
However muskan so far did not pay attention, if he/she not willing to the job who else should?
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.