start!
SQL Server Configuration Manager
Network ConfigurationDownxxx agreement, EnableNamed PipeswithTCP/IP

TCP/IPselectIP addressTab, willIP1withIP10Are set to127.0.0.1And set all IPX enabled to yes.
IPAIIChanged the dynamic port to1433
service
Running, Right click to restart

cmd
:telnet 127.0.0.1 1433There are spaces before 127 and spaces before 1433; if prompted, reconfigure or restart the computer;
java -versionCheck the JDK version, mine is 1.8, (actually you should also see how much jre is, but I can't see 1551

The following instructions can be seen

windows select exe file

turn onThis computerOf the propertyAdvanced system settingsofEnvironment variables、


Found in system variablesCLASSPATHCreate a new jar location

Then copy the jar file to the jre location...\lib\extunder

At the same time, copy the jre file to the JDK...\jre\lib\extunder

Then open eclipse and create a new Java project.
Under the new Java projectsrcMiddle rightBuild PathDownConfigure Build Path

then clickLibrariesMiddle rightAdd External JARs, Select the path and clickApply and Close


Then create a new one in the built projectclassYou can start using it.
Completed!
Problem Description Tip: Java JDBC How to connect to the server database solution: First of allGuide in the bag Add it as a library Add JDBC code...
Error: com.microsoft.sqlserver.jdbc.sqlserverexception: Unable to open the database "MyTest" requested by the login. Login failed. Error: I have an error in the above two types. The f...
One, SQL Server authentication settings First of all, before connecting to the database, you must ensure that SQL Server 2012 uses SQL Server authentication instead of windows authentication. If you c...
1. Check whether the database server opens a remote database connection and opens the corresponding port ①Open the server database ②Open the database to check whether the remote c...
How does LabVIEW connect to SQL Server Details First, overall flow chart Second, SQL SEVER 2012 download installation tutorial Third, Navicat 12 for SQL Server download installation tutorial Fourth, S...
1. Open the control panel first-management tool-open data source-system DSN-add driver 2. Enter the database on which server you want to connect here 3. Enter the account and password of the da...
Service environment: apache2.2 + PHP5.2 + Sql Server 2008 R2 First, the necessary libraries and tools 1, SQLSRV20.EXE (php5.2 corresponding version of Sql Server extensions) Notes: php5.2 version requ...
Operating system: 64-bit win7.0 Software version: Matlab R2016a SQL Sever 2012 1. Create a database and corresponding tables Create the database and the tables in it, the steps will not be described i...
Original address :: related articles 1、Qt connects to the SQL server database ---- 2、Qt notes (1) connect to SQL Server database ---- 3. The ODBC data source of the win10 operating system configures t...
The running environment is eclipse Python, connect to the local database. code show as below Run the program, and output OK....