473,378 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

How To Connect Sql Server 2000 From Java

Hi,

How do I Connect Sql Server 2000 to Java
Jun 18 '07 #1
5 8269
r035198x
13,262 8TB
Hi,

How do I Connect Sql Server 2000 to Java
Java connects to databases using JDBC. You just need an appropriate driver for the connecton to work.
Jun 18 '07 #2
Java connects to databases using JDBC. You just need an appropriate driver for the connecton to work.

1. download the jar file from microsoft ; msutil.jar, mssqlsever.jar, msbase.jar
2. Setting the CLASSPATH: C:/..lib/msutil.jar,.../mssqlserver.jar;.../msbase.jar
3. Enable TCP/IP
4. the default port no usually 1433.
5. Stop Firewall
Jun 19 '07 #3
ck9663
2,878 Expert 2GB
1. download the jar file from microsoft ; msutil.jar, mssqlsever.jar, msbase.jar
2. Setting the CLASSPATH: C:/..lib/msutil.jar,.../mssqlserver.jar;.../msbase.jar
3. Enable TCP/IP
4. the default port no usually 1433.
5. Stop Firewall
So far, I have not seen any updates on how to access sql server using Windows Authentication. I don't think it can. There's a (used to be free) softwware that says they can: http://www.datadirect.com/products/jdbc/comparing_with_microsoft/index.ssp
Jul 3 '07 #4
ck9663
2,878 Expert 2GB
Hi,

How do I Connect Sql Server 2000 to Java

i found this:
http://jtds.sourceforge.net/index.html
Jul 3 '07 #5
r035198x
13,262 8TB
i found this:
http://jtds.sourceforge.net/index.html
And you can get the connection strings from
www.connectionstrings.com
Jul 4 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Dad | last post by:
I need to connect SQL Server 2000 to DB2 on z/OS through DB2 Connect 8. I can successfully connect and query data through a System DSN, but trying to link the server using this DSN and MSDASQL...
5
by: db2sysc | last post by:
We want to run Unix Scripts on SunSolaris which Connected to MS SQL Server 2000. We would like to connect to SQL Server 2000 from Solaris. Is there any way to connect to Sql Server 2000 natively...
1
by: bitchanger | last post by:
I have installed an SQL Server 2000 Developer Edition (SP4) on a computer that has Windows Server 2003 on it.The server is connected to the workgroup "WORK" and has no Active Directory. Now I...
5
by: Ike | last post by:
Through Java, I am attempting to connect to a MySQL 4.12 server on a remote computer. I can connect fine via php. I cann connect fine via Java, through a servlet, when the servlet is on the same...
4
by: traceable1 | last post by:
I have a couple new servers - Windows 2003 R2 - with SQL Server 2000 SP4 installed. They are all Active/Active clustered instances (my first ones). I am trying to create database links to other...
0
by: sivasankarmathuraju | last post by:
Hi! I am using: Java 2 SDK 1.4.0 Standard Edition on Windows XP I have one java client application and one gateway that is in C language runing on the same machine. The server creates a...
0
by: tamayi | last post by:
I have a problem (like most others posting issues on this forum :) ) I have a remote server running Windows XP SP2, with both SQL Server 2005 Express with Advanced Features and SQL 2000...
3
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.