Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

I need to connect to a Spinup SQL Server database

Solution

Panel

bgColor#fff
There are a number of clients you may use to connect to a Spinup SQL Server database.
We recommend Azure Data Studio , which is a cross–platform GUI client from Microsoft. You can down load and install it from https://github.com/Microsoft/azuredatastudio. The examples below use Azure Data Studio.Once you create a SQL Server database in Spinup you should see an Endpoint listed on the database details panel (some like like from Microsoft is an excellent choice for managing SQL Server databases, especially if you're looking for a user-friendly, cross-platform tool. This guide walks you through the process of connecting to a Spinup SQL Server database using Azure Data Studio.

Step 1: Download Azure Data Studio

Download Azure Data Studio from its GitHub page. Ensure compatibility with your operating system.

Step 2: Find Your Database Endpoint

Locate your database Endpoint in the Spinup details panel, resembling spinup-db000123.c9ukc6s0rmbg.us-east-1.rds.amazonaws.com) - copy and use that to connect to your database.In .

Step 3: Create a New Connection

Open Azure Data Studio, create a new Connection by clicking the icon with the plus sign:

Image Removed

Enter the Server URL (the Endpoint), User name and Password that you entered when creating the database in Spinup, then click Advanced:

Image Removed

In the Security advanced section, set Encrypt and Trust server certificate to "True", then click OK:

Image Removed

Click Connect and if all the information is OK you should get connected to your SQL Server instance and see information about it:

Image Removed

You can now browse the databases/tables and run SQL queries.

Note: If your Database server is in a secure space, you will likely have to open port 1433 in your space's click the '+' icon to add a new connection. Enter the Endpoint, your username, and password.

Step 4: Configure Advanced Security Settings

In the 'Advanced' settings, under 'Security', set 'Encrypt' and 'Trust server certificate' to "True" for a secure connection.

Step 5: Connect to Your Database

Hit 'Connect'. Successful connection will display your SQL Server instance and database details.

Troubleshooting

If connection fails, check your internet, credentials, and ensure port 1433 is open in your firewall. See How do I use the Firewall in Spinup Spaces?

Conclusion

Azure Data Studio offers a straightforward way to manage SQL Server databases. For further information or assistance, refer to Microsoft's documentation or leave feedback.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@ca98fe5d
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "database" , "sql" ) and type = "page" and space = "spinup"
labelsspinup selfservice


Page Properties
hiddentrue


Related issues