JAVA에서 MSSQL 데이터베이스의 연결 문자열은 무엇이되어야합니까? 이 같은. 내 컴퓨터의 암호와 같은 연결 문자열의 모든 암호는 내가 알고 싶은 someother 일처럼JAVA에 넣을 MS-SQL 연결 문자열
있습니까? 포트 번호, URL 등은 무엇이되어야합니까? 연결에 대한 자세한 정보가 필요하면 알려주십시오.
P. 검은 선은 servername을가집니다.
내 연결 값
datasource.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
datasource.url=jdbc:sqlserver://MSSQLSERVERFULL;databaseName=xproctor;
datasource.user=JUNAID-VAIO\Shamim
datasource.password=
오류 : 데이터베이스에 연결하는 동안 여기 은 내가 오류입니다!
Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The TCP/IP connection to the host MSSQLSERVERFULL, port 1433 has failed. Error: "null. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".)
가능한 중복 [JDBC를 사용하여 Java에서 SQL Server 2008 데이터베이스에 연결하려면 어떻게합니까?] (http://stackoverflow.com/questions/2451892/how-do-i- SQL-server-2008-database-in-java-with-jdbc) –
@ThusithaThilinaDayaratne 거기에 암호가 있습니다. 용서? 내 컴퓨터 암호 같은거나 이것과 비슷한 무엇입니까? – Junaid
SQL 서버용 암호를 입력하지 않은 경우 공란으로 두십시오. –