Make it work: Connect SQL Server to Java Project tutorial

Veröffentlicht am: 01 Dezember 2021
auf dem Kanal: Awsful Geek
875
9

This is a very basic tutorial on how to connect your Microsoft SQL Server database to your Java project.

This project uses Microsoft SQL Server 2014 as this is what was currently available for me. Other databases can be connected this way as well. All you have to do is to have the correct driver and connection string.

In this video, we accessed the SQL Server database via Windows Authentication. That is why there is no username or password in this tutorial. But as promised, here is a sample of a connection string with a username and password:

jdbc:sqlserver://[servername]\[instance_name];user=[username];password=[password]

If anyone has any comment, suggestion, or even corrections, kindly drop them in below.

I hope this was helpful enough for you to learn anything.


Auf dieser Seite können Sie das Online-Video Make it work: Connect SQL Server to Java Project tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Awsful Geek 01 Dezember 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 875 Mal angesehen und es wurde von 9 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!