Тёмный

How to Connect to Microsoft SQL Server in Eclipse IDE 

Code Java
Подписаться 51 тыс.
Просмотров 50 тыс.
50% 1

Опубликовано:

 

13 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@tbrizOfficial
@tbrizOfficial 2 года назад
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 2 года назад
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.".
@noddychoi
@noddychoi 2 года назад
Thanks ! You saved my life!!!
@CodeJava
@CodeJava 2 года назад
Glad it helped!
@mirrajeac8215
@mirrajeac8215 2 года назад
What should I do if my schemas aren t showing when I expand ‘Schemas’ folder from my database project
@CodeJava
@CodeJava 2 года назад
do you have any database schemas created before?
@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 ?
@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:))
@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
@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.
@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 :(
@jmrodriguez250
@jmrodriguez250 2 года назад
Thank you very much, you are awesome!!!
@CodeJava
@CodeJava 2 года назад
Glad it helped!
@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
@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!
@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 :))
@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.
@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.
@khangnguyenhuy1202
@khangnguyenhuy1202 10 месяцев назад
i couldn't find mssql in enu
@isaias8908
@isaias8908 3 года назад
thanks a lot friend!!!
@CodeJava
@CodeJava 3 года назад
You're welcome!
@amankhairwar8072
@amankhairwar8072 2 года назад
When i did the test connection it is showing ping failed
@CodeJava
@CodeJava 2 года назад
make sure SQL server is running
@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
@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 Год назад
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 Год назад
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?
Далее
Java Database Connectivity | JDBC
20:34
Просмотров 295 тыс.
Авто уровни Happy Glass level 604 - 606
00:49
НЮША РОЖАЕТ?
00:17
Просмотров 757 тыс.
How to Connect to Oracle Database in Eclipse IDE
15:10
How to connect MySQL Database in Eclipse IDE?
8:35
Просмотров 178 тыс.
How to Connect Microsoft Power BI to MS SQL Database
5:39
Java Connect to Microsoft SQL Server Step by Step
35:41
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 201 тыс.