java - What is the jTDS JDBC Connect URL to MS SQL Server 2005 Express -
I am trying to connect to a MS SQL Server 2005 Express database that is located on a local host from the Java program Its going on.
I have tried the same link URL (below) that I used on any other system (same jave code) that was running MS SQL Server 2000. But it does not work.
jdbc: jtds: sqlserver: //127.0.0.1: 1433 / finance
Any ideas?
Are you really the right examples? The habit of establishing SQL Express as a naming frequency, such as "Localhost \ SQLExpress", rather than a standard example. So something like this will happen:
jdbc: jtds: sqlserver: //127.0.0.1: 1433 / finance; Example = & lt; Example_name & gt;
If this does not work, try to leave the instance name, and change the port to the port used from named frequency:
< Code> jdbc: jtds: Sqlserver: //127.0.0.1: & lt; Instance_port & gt; / Finance>
Either try to check your connectivity through the OSQL.exe tool, you can also check it on.
Comments
Post a Comment