SQL Studio

Assistenza

Hai bisogno di aiuto con SQL Studio o con il gateway SQL Studio? Qui trovi le risposte alle domande più frequenti.

Contatti: scrivi a support@geolox.it. Indica versione dell'app e del gateway, dispositivo e sistema operativo, sistema su cui gira il gateway, versione di SQL Server e, se possibile, il testo esatto del messaggio d'errore (con il traceId, se presente). Rispondiamo di norma entro due giorni lavorativi.

Installare il gateway SQL Studio

SQL Studio non si collega direttamente a SQL Server: passa dal gateway SQL Studio, un servizio che installi sul tuo server e gestisci tu. Lo installa di solito l'amministratore, una volta sola per tutta l'azienda.

Come ottenere il gateway: acquista la licenza nello store di SQL Studio Gateway (pagamento unico, licenza perpetua per un server con 5 utenti inclusi; altri utenti a 9,99 € l'anno ciascuno). Subito dopo il pagamento ricevi via email la chiave di licenza e il link per scaricare il pacchetto. Le istruzioni complete sono nella guida per l'amministratore (in inglese). Per una licenza non valida o un nuovo link usa il modulo di assistenza.

Requisiti

Primi passi

  1. Installa il gateway come servizio Windows, servizio systemd su Linux oppure container Docker.
  2. Crea il certificato TLS (o usa quello della tua CA aziendale): gateway cert create --host <nome-host>
  3. Crea il primo utente: gateway users add admin --admin. Ogni collega può avere il proprio account, anche con verifica in due passaggi (gateway users totp <utente> enable).
  4. Indica i server consentiti nell'impostazione Gateway:AllowedServers (ad esempio sql01, *.database.windows.net).
  5. Apri la porta 8443 nel firewall del server del gateway.
  6. Annota l'impronta del certificato con gateway cert fingerprint: ti servirà per verificarla nell'app.

Primo avvio dell'app

Come configuro il gateway nell'app?

Al primo avvio si apre Configura gateway: inserisci un nome profilo e l'URL del gateway (solo https://, ad esempio https://gateway.azienda.local:8443) e premi Verifica connessione.

L'app mi mostra un'impronta del certificato

Succede quando il gateway usa un certificato autofirmato o emesso da una CA privata. Confronta l'impronta mostrata con quella stampata da gateway cert fingerprint sul server del gateway, carattere per carattere. Solo se coincidono attiva Ho verificato che l'impronta corrisponde a quella del gateway e premi Considera attendibile e continua. Da quel momento l'app accetta solo quel certificato.

Il certificato del gateway è stato rinnovato

L'app rifiuterà il nuovo certificato finché non lo verifichi: usa Verifica certificato... nella finestra di accesso per controllare e confermare la nuova impronta.

Come accedo?

Con nome utente e password del gateway, che ti fornisce l'amministratore (sono diversi dagli account di SQL Server). Se il tuo account usa la verifica in due passaggi compare anche il campo Codice di verifica (TOTP). Dopo 5 tentativi falliti l'account viene bloccato per 15 minuti.

Connessione ai server

Come mi collego a un server?

Dopo l'accesso al gateway si apre Connetti al server. Indica il nome del server come lo raggiunge il gateway (server, server,porta o server\istanza), scegli l'autenticazione e premi Connetti.

"Il server … non è consentito dall'elenco dei server autorizzati del gateway"

Il gateway accetta solo i server indicati dall'amministratore. Chiedi di aggiungere il server a Gateway:AllowedServers, nella stessa forma che usi nell'app.

Autenticazione di Windows

Usa l'identità dell'account con cui gira il gateway, quindi richiede un gateway su Windows con l'impostazione Gateway:AllowIntegratedSecurity attivata (è disattivata per impostazione predefinita). Nei container Linux non è disponibile.

Microsoft Entra MFA

L'app mostra un codice e apre la pagina di accesso Microsoft. Dopo l'accesso il token viene inviato al tuo gateway, che lo usa per collegarsi al database.

Si interrompe la connessione o ricevo "method not allowed"

Se davanti al gateway c'è un proxy (IIS, WAF), verifica che non blocchi le richieste e aggiorna il gateway all'ultima versione.

Password e sicurezza

Dove vengono salvate le password?

Solo nel Portachiavi del tuo dispositivo, mai sui nostri server: non ne abbiamo. Il gateway non salva le password di SQL Server: le tiene in memoria solo per la durata della connessione. Nelle opzioni dell'app (Generale › Sicurezza) puoi richiedere Touch ID, Face ID o la password del dispositivo e attivare il blocco automatico dopo un periodo di inattività.

Prezzo

L'app SQL Studio è gratuita, senza acquisti in-app e senza account presso di noi. Il gateway SQL Studio, necessario per usarla, è invece a pagamento: si acquista una sola volta una licenza perpetua per un server, con 5 utenti inclusi; gli utenti in più sono un abbonamento annuale. Prezzi e condizioni di vendita sono nello store. Di solito lo acquista l'amministratore, una volta per tutta l'azienda.

SQL Studio o SQLStudio Light?

Se non vuoi installare un gateway, SQLStudio Light si collega direttamente ai server con la stessa interfaccia. Autenticazione di Windows, Microsoft Entra MFA, Always Encrypted, pacchetti DACPAC/BACPAC e attività che proseguono ad app chiusa sono disponibili solo in SQL Studio.

Lingua

L'app usa la lingua del sistema: italiano o inglese, inglese per le altre lingue. Per cambiarla solo per SQL Studio: su iPhone e iPad Impostazioni › SQL Studio › Lingua; su Mac Impostazioni di Sistema › Generali › Lingua e Zona › Applicazioni.

Support

Need help with SQL Studio or the SQL Studio gateway? Here are the answers to the most frequent questions.

Contact: write to support@geolox.it. Please include the app and gateway versions, device and OS version, the system the gateway runs on, the SQL Server version and, if possible, the exact text of the error message (with its traceId, if shown). We usually reply within two business days.

Installing the SQL Studio gateway

SQL Studio does not connect to SQL Server directly: it goes through the SQL Studio gateway, a service you install on your own server and manage yourself. It is usually installed by an administrator, once for the whole organization.

Getting the gateway: buy a license in the SQL Studio Gateway store (one-time payment, perpetual license for one server with 5 users included; more users at €9.99 per year each). Right after the payment you receive your license key and the link to download the package by email. The complete instructions are in the administrator guide. For an invalid license or a new download link, use the support form.

Requirements

Getting started

  1. Install the gateway as a Windows service, a systemd service on Linux or a Docker container.
  2. Create the TLS certificate (or use one from your company CA): gateway cert create --host <host-name>
  3. Create the first user: gateway users add admin --admin. Each colleague can have a personal account, with two-step verification if you like (gateway users totp <user> enable).
  4. List the allowed servers in the Gateway:AllowedServers setting (for example sql01, *.database.windows.net).
  5. Open port 8443 in the gateway server's firewall.
  6. Note the certificate thumbprint with gateway cert fingerprint: you will verify it in the app.

First launch of the app

How do I set up the gateway in the app?

At first launch Configure Gateway opens: enter a profile name and the gateway URL (https:// only, for example https://gateway.company.local:8443) and press Test Connection.

The app shows me a certificate thumbprint

This happens when the gateway uses a self-signed certificate or one issued by a private CA. Compare the thumbprint shown with the one printed by gateway cert fingerprint on the gateway server, character by character. Only if they match, turn on I have verified that the thumbprint matches the gateway's and press Trust and Continue. From then on the app accepts only that certificate.

The gateway certificate was renewed

The app will reject the new certificate until you verify it: use Verify Certificate... in the sign-in window to check and confirm the new thumbprint.

How do I sign in?

With the gateway user name and password provided by your administrator (they are not SQL Server accounts). If your account uses two-step verification, the Verification code (TOTP) field also appears. After 5 failed attempts the account is locked for 15 minutes.

Connecting to servers

How do I connect to a server?

After signing in to the gateway, Connect to Server opens. Enter the server name as the gateway reaches it (server, server,port or server\instance), choose the authentication and press Connect.

"Server … is not allowed by the gateway's list of authorized servers"

The gateway only accepts the servers set by your administrator. Ask to add the server to Gateway:AllowedServers, in the same form you use in the app.

Windows Authentication

It uses the identity of the account the gateway runs as, so it requires a gateway on Windows with the Gateway:AllowIntegratedSecurity setting turned on (it is off by default). It is not available in Linux containers.

Microsoft Entra MFA

The app shows a code and opens the Microsoft sign-in page. After you sign in, the token is sent to your gateway, which uses it to connect to the database.

The connection drops or I get "method not allowed"

If there is a proxy in front of the gateway (IIS, WAF), check that it does not block requests and update the gateway to the latest version.

Passwords and security

Where are passwords stored?

Only in your device Keychain, never on our servers (we don't have any). The gateway does not store SQL Server passwords: it keeps them in memory only for the lifetime of the connection. In the app options (General › Security) you can require Touch ID, Face ID or the device password and enable automatic locking after a period of inactivity.

Price

The SQL Studio app is free, with no in-app purchases and no account with us. The SQL Studio gateway, which it needs, is paid: you buy a perpetual license once for one server, with 5 users included; extra users are a yearly subscription. Prices and terms of sale are in the store. It is usually bought by the administrator, once for the whole organization.

SQL Studio or SQLStudio Light?

If you don't want to install a gateway, SQLStudio Light connects directly to your servers with the same interface. Windows Authentication, Microsoft Entra MFA, Always Encrypted, DACPAC/BACPAC packages and tasks that keep running after you close the app are available only in SQL Studio.

Language

The app follows the system language: Italian or English, English for any other language. To change it for SQL Studio only: on iPhone and iPad Settings › SQL Studio › Language; on Mac System Settings › General › Language & Region › Applications.