File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How to set classpath variable on Linux OS for MySql database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to set classpath variable on Linux OS for MySql database" Watch "How to set classpath variable on Linux OS for MySql database" New topic
Author

How to set classpath variable on Linux OS for MySql database

Nita Kaur
Greenhorn

Joined: Apr 27, 2001
Posts: 6
Hello Friends,

I am into Linux administration and dose not know anything abut java. So if any one can help me by telling me how to set classpath variable on unix machine for MySql database driver. Do I have use the tar file or jar file.
Thanks
Nita
Nita Kaur
Greenhorn

Joined: Apr 27, 2001
Posts: 6
HEllo Friends,

Can any one help me with this. It is real urgent.

Thanks
Nita
jack nick
Ranch Hand

Joined: Jan 11, 2001
Posts: 96
Hi there,
Have very little knowledge in linux.
but nevertheless i think you have to set the CLASSPATH variable to the mysql driver jar file
for instance on our system we use the mm drivers for mysql and the class path points to mysql_uncomp.jar and the mysql_comp.jar files
bye
hope this helps
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set classpath variable on Linux OS for MySql database