I have got it working (well i have got it working to the point that the server rejects the request) by setting $CLASSPATH with the following
CLASSPATH=.:../:/usr/share/java/mysql-jdbc/*...
Type: Posts; User: 2k.
I have got it working (well i have got it working to the point that the server rejects the request) by setting $CLASSPATH with the following
CLASSPATH=.:../:/usr/share/java/mysql-jdbc/*...
I'm using a text editor and bash rather than a full blown IDE to do this as my book doesn't cover any editors and they look a bit scary!
Thanks for everyones help so far
It seems that it is an issue with the jdbc driver not being in the classpath. Now to work out how to get around this problem, there seems to be some debate as to...
right I think i get it
I have changed the code to show the following
catch (ClassNotFoundException e)
{
System.out.println(e.getMessage());
e.printStackTrace();
...
how do I go about doing that? sorry to sound thick!
Hi there,
I'm currently teaching myself Java from a for dummies book. However I have currently got stuck on the section to connect to a mysql database, in the book it assumes that the database is...