Eclipse connected to SqlServer2008 (it was a terrible mess)

Source: Internet
Author: User

Uncle Jian Min told me to test to do a system requirements to connect SqlServer2008, so I began the "purgatory", people connected to the green light, I was all the way red so decided to record it down, to Yimeimei to provide convenience.

First red light:

Failed to test the connection with CMD after starting the service.

Start menu → Run cmd→ at the command prompt input: telnet 127.0.0.1 1433, (note that there is a space between Telnet and 127, 1 and 1433 spaces) If you are prompted to "cannot open a connection to the host, on port 1433: Connection Failed", Indicates that port 1433 is not open and needs to be re-configured. If the connection is successful, the display is shown in 8:

I did not appear above the interface, but said the command is not recognized.     The test succeeds after changing the port to 1433. Red Light 2: Established Java project with red Exclamation point resolution: Reconfigure Sqljdbc4.jar Path red light 3: Everything is OK or Prompt user Login failed (login name, password is correct), tinkering for a few days finally found SqlServer2008 server is not the Server, change the server name to the computer name and establish a successful connection to the test database.

Eclipse connected to SqlServer2008 (it was a terrible mess)

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.