a bat file would look like
@echo off
set CLASSPATH=program.jar;mysql-connector-java-5.1.18-bin.jar
:start
start javaw.exe MainClass
program.jar (would contain the MainClass class as the main class) and the mysql.jar would have to reside in the same directory.
For Eclipse you have to set your project Build Path to include the mysql...jar.