Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set classpath variable on Linux OS for MySql database

 
Nita Kaur
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HEllo Friends,

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

Thanks
Nita
 
jack nick
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic