I have a java program that runs perfectly fine on my windows box but on linux it's not working
I am getting a UnknownHost exception
I am establishing a connection to my database with the following command
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://schoolid.net:3306/schoolid_nutrition", "schoolid_","");
also I am not sure if I didn't install the JDBC driver correctly I installed it and added to the $CLASSPATH variable or should that have been the PATH variable?
can someone please help me
Thanks