How to Connect to Microsoft SQL Server in Eclipse IDE

  Рет қаралды 51,941

Code Java

Code Java

Күн бұрын

Пікірлер: 51
@tbrizOfficial
@tbrizOfficial 3 жыл бұрын
Holy shit - Eclipse is absolute dog shit when it comes to this. All the default SQL Server stuff is "broken" as you say and I fully agree. Was setting up and it wasn't giving me any properties window, no error messages, nothing to help me figure out why it wasn't working AT ALL. Wasted so many hours trying to figure this out. Using "Other Driver" and your settings was the saving grace. They should link your video from that window no joke. Your video freggin saved me so much, thank you!!!
@CodeJava
@CodeJava 3 жыл бұрын
Glad it helped :)
@RohitThirukarthick
@RohitThirukarthick Жыл бұрын
The TCP/IP connection to the host SV5503DB1021 qlexpress, port 1433 has failed. Error: "null. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
@mirrajeac8215
@mirrajeac8215 3 жыл бұрын
What should I do if my schemas aren t showing when I expand ‘Schemas’ folder from my database project
@CodeJava
@CodeJava 3 жыл бұрын
do you have any database schemas created before?
@changtraitre9227
@changtraitre9227 2 жыл бұрын
hi anh em đã tạo được nhưng tới đoạn edit table(14:27) nó báo lỗi Cannot read the array length because "editors" is null # các table của em đều đã có dữ liệu rồi ạ mong anh phản hồi sớm
@CodeJava
@CodeJava 2 жыл бұрын
Hmm, I don't know why :(
@noddychoi
@noddychoi 3 жыл бұрын
Thanks ! You saved my life!!!
@CodeJava
@CodeJava 3 жыл бұрын
Glad it helped!
@MrHungdangtuan
@MrHungdangtuan Жыл бұрын
I had a problem during setup: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "No appropriate protocol (protocol is disabled or cipher suites are inappropriate)". I'm using sqljdbc_12.4.1lib How can I fix it?
@CodeJava
@CodeJava Жыл бұрын
If I remember correctly, you need to configure SQL server to allow listening on TCP/IP protocol.
@rameshkannan6986
@rameshkannan6986 2 жыл бұрын
I couldn't able to edit the url connection in Properties. I am literally connecting MSSQL server with IP adddess. But i was need to add Encrpt: true,Trustcertificates:true; but it was neglacting
@CodeJava
@CodeJava 2 жыл бұрын
Hmm, sorry to hear that. It is still able to connect, isn't it?
@rameshkannan6986
@rameshkannan6986 2 жыл бұрын
Not it is not able to connect because we need to add Encrpt:true
@AyushSingh-nk6pv
@AyushSingh-nk6pv 3 жыл бұрын
I wanted to use a centralize server. is this how we do it? Help me with that...
@CodeJava
@CodeJava 3 жыл бұрын
yes, that is described in this video.
@AyushSingh-nk6pv
@AyushSingh-nk6pv 3 жыл бұрын
@@CodeJava in url do we have to write the same thing that u have written. Cuz I m getting an error that says the connection to host sqlserver, named instance sqlexpress failed. No such host is known...help me with this.
@minhnguyenquang1724
@minhnguyenquang1724 3 жыл бұрын
1/I had an error when I try to edit data from a table. The error message says: "Cannot edit table. An unknown or unsupported data type encountered for column " . That column name "Hoten" and it's data type is nvarchar(50). So pls help me .. 2/When I try to add new connection URL. It's only work when I use URL "jdbc:sqlserver://localhost;databaseName=JavaWebDemo". So why it's must be "localhost" instead of /[serverName[\instanceName][:portNumber]] I'm learning Java Web for my school Java Project and I'm VietNamese too but I want to practice English so I wrote this comment:))
@jmrodriguez250
@jmrodriguez250 2 жыл бұрын
Thank you very much, you are awesome!!!
@CodeJava
@CodeJava 2 жыл бұрын
Glad it helped!
@khangnguyenhuy1202
@khangnguyenhuy1202 Жыл бұрын
i couldn't find mssql in enu
@amankhairwar8072
@amankhairwar8072 2 жыл бұрын
When i did the test connection it is showing ping failed
@CodeJava
@CodeJava 2 жыл бұрын
make sure SQL server is running
@sadwhatsappstatus9924
@sadwhatsappstatus9924 2 жыл бұрын
What if we are using windows authentication not remote server??
@CodeJava
@CodeJava 2 жыл бұрын
then you should use the JDBC URL like this: jdbc:sqlserver://localhost;integratedSecurity=true; Reference: www.codejava.net/java-se/jdbc/connect-to-microsoft-sql-server-via-jdbc
@priyanthafernando2849
@priyanthafernando2849 2 жыл бұрын
@@CodeJava Tried this. But error says 'Enter a user name.' Please help
@CodeJava
@CodeJava 2 жыл бұрын
@@priyanthafernando2849 you need to know username and password of the database.
@priyanthafernando2849
@priyanthafernando2849 2 жыл бұрын
@@CodeJava but im using windows authentication. It does not have username and password ☹️?
@CodeJava
@CodeJava 2 жыл бұрын
@@priyanthafernando2849 Windows Auth doesn't require credentials as it uses the current Windows user.
@ashwinvp2163
@ashwinvp2163 3 жыл бұрын
Can you make a video series for React or Angular?
@CodeJava
@CodeJava 3 жыл бұрын
I will do in future. Currently I'm busy completing my course on Udemy: www.udemy.com/course/spring-boot-e-commerce-ultimate/?couponCode=PERFECT
@shegyoo
@shegyoo 2 жыл бұрын
how do i find the url to my sql server
@CodeJava
@CodeJava 2 жыл бұрын
check this answer: stackoverflow.com/questions/16088151/how-to-find-server-name-of-sql-server-management-studio
@sabahalhasan4095
@sabahalhasan4095 3 жыл бұрын
thank you so much , this video really help me ... when I tried to edit the data this message appear "Cannot edit table. An unknown or unsupported data type encountered for column Template."
@CodeJava
@CodeJava 3 жыл бұрын
that means Eclipse unable to edit the data due to unrecognized data type. In this case, you need to use SQL Management Studio directly.
@sabahalhasan4095
@sabahalhasan4095 3 жыл бұрын
@@CodeJava you mean to create the table in eclipse directly ?
@tartanclips2635
@tartanclips2635 3 жыл бұрын
Thank you so much for this. I was struggling to connect for a JPA project and my problem was that the Spring Boot connection string has \\sqlexpress where from the IDE it is a single \sqlexpress SAVED my bacon. Thanks again
@CodeJava
@CodeJava 3 жыл бұрын
Glad it helped!
@isaias8908
@isaias8908 3 жыл бұрын
thanks a lot friend!!!
@CodeJava
@CodeJava 3 жыл бұрын
You're welcome!
@daotuyentravel
@daotuyentravel 3 жыл бұрын
Anh người việt bảo sao em nghe rõ tiếng anh thế. anh có kênh tiếng việt không ạ.
@CodeJava
@CodeJava 3 жыл бұрын
không em ạ. chỉ có kênh English này thôi.
@nguynthhng1
@nguynthhng1 2 жыл бұрын
​@@CodeJava lần đầu nghe cũng đoán ra anh người Việt, accent không thể lẫn đi đâu được :))
@swathisivakumar6394
@swathisivakumar6394 2 жыл бұрын
What is the password where can i find?
@CodeJava
@CodeJava 2 жыл бұрын
it's the password you set when you install SQL Server (localhost). If it is a remove server, you need to ask your database admin.
@Stranger-nu1jc
@Stranger-nu1jc 3 жыл бұрын
What did you smoke
@CodeJava
@CodeJava 3 жыл бұрын
why do you ask that?
@d-daymkk6795
@d-daymkk6795 2 жыл бұрын
em bị lỗi này ạ com.microsoft.sqlserver.jdbc.sqlserverexception: the driver could not establish a secure connection to sql server by using secure sockets layer (ssl) encryption
@CodeJava
@CodeJava 2 жыл бұрын
maybe the JDBC driver version is outdated. Check and use the latest one.
@tanloclai5111
@tanloclai5111 Жыл бұрын
@@CodeJava i already use jdbc river 12.(the latest one) but still mess the same error like him. but when i add trustServerCertificate= true; in URL the error disappear, it not last long until reconnect. any helpful suggestion?
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 222 М.
Java Database Connectivity | JDBC
20:34
Telusko
Рет қаралды 369 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
How to Connect to Oracle Database in Eclipse IDE
15:10
Code Java
Рет қаралды 48 М.
Intro To SSMS - Get to know SQL Server Management Studio
50:08
IAmTimCorey
Рет қаралды 57 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
How to Connect SQL Server with Java in Eclipse
10:00
SR - Tutorial
Рет қаралды 20 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН