From the course: Database Foundations: Intro to Databases

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Connect to a database server

Connect to a database server

From the course: Database Foundations: Intro to Databases

Start my 1-month free trial

Connect to a database server

- [Instructor] In order to connect a client to a server, you need a couple of pieces of information. First, you need to know where that server is and how to communicate with it. You do that by getting the server's network IP address and its communication port. For that, we can review our Docker containers. Now, rather than going back into PowerShell though, we can use the integrated terminal window here in Azure Data Studio. To open it, come up to the View menu, and come down to Terminal. If you use this feature a lot, you'll notice it has a shortcut key. In Windows it's Ctrl + ', and on macOS and Linux it's Ctrl + `. I'll go ahead and click on that. That'll start up my terminal at the bottom of the main portion of the screen. Now I can run the standard Docker commands that we've previously used. For instance, docker ps, that shows me my different containers and it's a little bit wide, so let me minimize the width…

Contents