Connecting SQL Server Exceptions

Source: Internet
Author: User
Tags management studio sql server management sql server management studio

Schneider's built-in SQL Server database uses the default Windows login mode so that we cannot remotely connect over IP, and this is where the modification method is recorded.

1. Modifying the TCP/IP protocol used by SQL Server services

A) Bring up SQL Server Configuration Manager in all programs, such as:


b) Select TCP/IP in SQL Server Configuration Manager


c) Right-click Properties, as Configured


d) Restart the SQL Server service to


2. Modify SQL Server default login mode

After pressing 1 to modify the service, we through the user password or unable to log in, this time the reason may be the installation of SQL Server instance, set it only allow Windows Authentication mode login, modified to Windows authentication can also be SQL Server authentication, can be modified as follows:

A) log in to the database by using SQL Server Management Studio as a certified method, such as:


b) Right-click the connection name check properties


c) under "Security" Select SQL Server and Windows authentication mode save


d) Select the "sa" User, right-click on the property, modify its password and access to the database




With the above modification, you can connect to SQL Server by using the following string in JDBC mode.

jdbc.driverclassname=com.microsoft.jdbc.sqlserver.sqlserverdriverjdbc.url=jdbc:sqlserver://localhost:1433; Integratedsecurity=true;databasename=taclogdata


Connecting SQL Server Exceptions

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.