From the course: Database Foundations: Intro to Databases
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Connect to a database server
From the course: Database Foundations: Intro to Databases
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.