Welcome to the quickstart guide for leveraging the power of Azure's comprehensive database services. This guide will walk you through the essential steps to provision and connect to your first Azure database.
Azure offers a variety of managed database solutions to suit different needs:
For this quickstart, we'll focus on a common choice, Azure SQL Database. The principles are similar for other services.
Navigate to the Azure portal. Search for "SQL databases" and click "Create".
You'll need to configure:
myQuickstartDB
)myquickstartserver123
)Click "Review + create" and then "Create" to provision your database.
Once the database is deployed, navigate to your SQL database resource in the Azure portal.
Under "Settings", select Firewalls and virtual networks. Click Add client IP to allow your current IP address to connect. You can also add other IP addresses or ranges if needed.
Click Save.
From your SQL database overview page, find the Server name (e.g., myquickstartserver123.database.windows.net
). You'll use this to connect.
You can connect using various tools:
sqlcmd
or mssql-cli
.Example using Azure Data Studio/SSMS:
Open your SQL client tool. Enter the server name, select SQL Authentication, and provide the administrator username and password you created.
Server: myquickstartserver123.database.windows.net
Authentication: SQL Server Authentication
Login: your_admin_username
Password: your_admin_password
Once connected, you can create tables, insert data, and run queries.
Congratulations! You've successfully provisioned and connected to your Azure database. Explore these resources to learn more: