[webstack-discuss] how to connect my java application to mysql

2009-08-13 Thread Douglas Gaisie
Hello there, am a student and love to move to opensolaris , i have install the latest version and its running greate. i have create a java application and want to connect it to mysql. when i run the application i get an error. When you look at windows OS, there is a place for you to set up the Data

[webstack-discuss] how to connect my java application to mysql

2009-08-13 Thread Sriram Natarajan
Hi Thanks for choosing OpenSolaris. MySQL JDBC connector can be downloaded from http://dev.mysql.com/downloads/connector/j/3.1.html You will need to unpack this downloaded file and set the 'jar' files to your CLASSPATH and that is all you need to do to connect to MySQL from Java. Here is a n