Eclipse-JDBC (1) failed to log on to the SA user created by sqlserver. This user is not associated with a trusted SQL server connection. How can this problem be solved?

Source: Internet
Author: User
Tags microsoft sql server 2005 mssqlserver

1-1. Install "ms SQL Server 2005 (SP3)" (select the local account for the built-in account, select the windows and SQL hybrid modes for the logon mode, and set the password as needed; if no built-in account SA is set, log on to "SQL Server Management Studio" with Windows authentication, right-click the server name (with a green flag) properties → Security → SQL Server and Windows Authentication Mode (this mode is required for JDBC)

1-2 create a new userLogon Name → SA → logon attribute, and then set the password to disable "SQL Server Management Studio"
2-1. "Start" →"Program"→" Microsoft SQL Server 2005 "→" configuration tool "→" SQL Server Configuration Manager "(confirm that" SQL Server Management Studio "is disabled)
2-2. Stop "SQL Server (sqlexpress)" in "SQL Server 2005 service" (started by default)
2-3. Choose "SQL Server 2005 network configuration"> "MSSQLServer protocol" to start "TCP/IP" (disabled by default ), double-click "TCP/IP" to go to the property settings. In "ip address", check that "TCP port" in "ipall" (the last one) is 1433.
2-4. Start "SQL Server (MSSQLServer)" in "SQL Server 2005 service" (by default, it is stopped)
2-5. Disable "SQL Server Configuration Manager" (you can start "SQL Server Management Studio" and log on with the account SA and password. If the SQL Server server is correctly set, you should be able to log on successfully)

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.