Summary of Java Connection SQL Server database issues

Source: Internet
Author: User
Tags database issues

It's on the Internet. To set the SQL Server network configuration-"SQLExpress" protocol-"TCP/IP" in Server Configuration Manager I tried it.

I do not know whether to test the settings of the time to change what parameters to the whole good.

Now the configuration is Eclipse Photon Release (4.8.0) +sqlserver2008

parameter is

Jdbc. Driverclassname=com.microsoft.sqlserver.jdbc.sqlserverdriver
Jdbc.url=jdbc:sqlserver://127.0.0.1:1433;databasename=test;
Jdbc.username=sa
jdbc.password=****

After the JDBC individual jar packages are imported, the key Sqljdbc4.jar must be able to connect successfully.

The table name does not conflict with the keyword in the database, I used the user as the name of the table, pit me for one hours I can't find the problem.

Summary of Java Connection SQL Server database issues

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.