Java - Connection to SQL Server, downloading and including the Driver/ Jar file

preview_player
Показать описание
This demo shows how to connect to SQL Server from Java. You will need to download the driver from Microsoft (link underneath) and unzip it.

Рекомендации по теме
Комментарии
Автор

Spent my whole evening trying to set my connection and you made it so easy in a few minutes. Thank you!

trendliners
Автор

Thank you so much, I think you are the only who have uploaded the correct video, I spent my whole day.

purvidholakia
Автор

The exact issue, the exact solution i was looking for thank you❤hope u the best 😊i spent the whole day watching unhelpful long videos, but made it short and clear thank u again

silvador
Автор

I was literally forgetting to add the jar file 🤦‍♂️. Thank you, lifesaver.

robertdonnan
Автор

didn't even have to watch the whole video and im running eclipse in linux :-) good job !

steffenjensen
Автор

This video is REALLY helpful ! I was exactly looking for that connection from SQL to Java.. perfect, thanks a lot!! :D

health.upgradedbyscience.
Автор

I am using VScode and I have added the driver but I still get the error. assistance?

skipa
Автор

You are perfect I like your teaching I hope that you have completed

TBaderAlsari
Автор

Error connecting to the database: "encrypt" property is set to "true" and "trustServerCertificate" property is set to "false" but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12].

I got the above issue. Could you please help me

ShortLessonsDaily
Автор

hello mem please teach how to connect sql server driver without any IDE

web_.
Автор

I followed as is but I still get the same error - Error connection to the database. No suitable driver found.
I have JRE 15 on my system. I tried with JDBC driver 9.2 which supports JRE15, yet no luck.
Please help!

sainiranjan