Hi all,

I am having problems while i am Connecting to Ms SQL Server remotely.

Can anyone tell me how can I do that?

Currently I am working on apache tomcat with local database, mysql. This is the code that I have in the connectivity part. Please share some information with me on reading the data from my remote sql server.


public void getConnection() throws SQLException, ClassNotFoundException {
try {
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/reseller");
} catch (ClassNotFoundException e) { }
catch (SQLException cnfe) {}

And by the way, where can I download the MS Sql Server driver for my tomcat??