[Nottingham] JDBC & CLASSPATH

Martin Garton martin at stupids.org
Mon Dec 11 13:33:47 GMT 2006


On Mon, 2006-12-11 at 13:22 +0000, Martin Kirk wrote:

> I'm trying to configure JDBC to work with MySQL but I'm confused.
> I've got as far as putting the mysql-connector-java under /opt.
> My instructions now say "modify CLASSPATH in your .bashrc file" but I don't 
> appear to have a .bashrc file.

You should be able to simply create a .bashrc file in your home
directory.  Then in it you want something like:

export CLASSPATH=$CLASSPATH:/opt/path/to/mysql-connector-java.jar

-- 
Martin.





More information about the Nottingham mailing list