SQL Wizard

Keeping your data safe

Checklists for your database server and your SQL Wizard organization, and what SQL Wizard does for you.

GuideKeeping your database server safe

A checklist for the MySQL or MariaDB server SQL Wizard works with — on a hosting, a NAS, a PC or in the cloud. Start with the Security check: it tells you which points your server misses and gives the SQL to fix them.

  1. Run the Security check: on Database servers, click Security check beside the server. Aim for grade A; each finding says what to do, and where it helps the SQL to copy. SQL Wizard never changes your server itself.
  2. Encrypt the connection: turn on TLS on the server, then choose Verify (with the server’s CA certificate) or at least Require in Database serversChange encryption. Prefer quietly falls back to an unencrypted connection when the server has no TLS.
  3. Let logins in only from where they are used: create the MySQL user SQL Wizard signs in with for SQL Wizard’s address 91.234.46.58 only, not for any host (%), and on the firewall or router open port 3306 only for that address.
  4. One MySQL login per person, with only the rights they need: no SUPER, FILE or GRANT for everyday work, and a read-only login (Database serversMySQL loginsRead-only login…) for people who only look.
  5. Strong, unique passwords for every MySQL user; no users without a password and no anonymous users (the Security check lists them). Remove the test database if the server still has one.
  6. Keep MySQL or MariaDB up to date: the Security check says when your version no longer gets security fixes.
  7. Turn off what you don’t use: LOCAL INFILE (local_infile = 0), the old password method, and admin tools left open on the internet.
  8. Back up and test it: ServerScheduled backups to your own storage, encrypted with your own key (Encryption), and restore one into a test database now and then.
Each step is explained in its own article: Your own database server (connecting a NAS, a PC or Linux), Backups (storage and encryption) and Server and users (MySQL users and rights).
Open in SQL Wizard

GuideProtecting your SQL Wizard account and organization

What you can turn on in SQL Wizard itself, from your own account to rules for the whole organization. Most of the organization’s rules are on HomeSettingsOrganization (owners and admins).

  1. Turn on 2-step sign-in in My account, and save the recovery codes. Owners: require it for everyone (SettingsOrganization).
  2. Work only from your own addresses: in SettingsOrganization tick Only from our addresses and list them — the office, a home office. The owner on a trip allows a new address for a while from Home, by e-mail link.
  3. Shorter sessions: in SettingsOrganization choose Lock after inactivity and Sign in again after; each person can lock sooner in SettingsLocking and sign-out.
  4. Working hours: SettingsOrganizationWorking hours… — outside them Allow and alert or Deny and alert; a member’s own hours on OrganizationMembersHours.
  5. Alerts: Tell me about sign-ins from a new country, and the admins who get sign-in alerts (Working hours…). Everyone also gets an e-mail for a new browser and a new country.
  6. Give each member only what they need: groups and Access per server and database (OrganizationMembers), read-only members for people who only look.
  7. Guard against mistakes: the password is asked again before dropping a database, deleting a MySQL user or exporting several databases; SettingsMistake guardDangerous SQL asks for the server’s name before DROP, TRUNCATE and UPDATE without WHERE.
  8. Keep downloads protected: in SettingsOrganization tick Encrypt downloads with the backup key, so backups and exports are saved as .age files.
  9. Check now and then: My accountSigned-in devices (Sign out all other devices if one isn’t yours) and OrganizationActivity.
Something looks wrong? Sign out all other devices, change your password, and tell us with Report a problem — owners can also turn off the organization’s servers by removing the member or their login.
Open in SQL Wizard

What does SQL Wizard do to protect my data?

SQL Wizard connects to your database servers when you ask it to; the rows of your databases are not kept anywhere else — only templates, plans and queries you save yourself (the structure or the SQL, never rows). The MySQL passwords and backup storage passwords it stores are encrypted, with a key kept outside the website that can be replaced in seconds.

The app runs only its own scripts (no tracking, no advertising, no third-party scripts), asks for your password again before dangerous actions, and is hosted in the EU (Croatia). Scheduled backups can be encrypted with a key only you have, so not even SQL Wizard can open them.

Didn’t find it?

In SQL Wizard, Report a problem reaches us directly — or write to us.