ClaudioSQL 0.9.0 — the MySQL and MariaDB client that feels like a Mac app, in your browser
https://claudiotassitano.it/claudiosql/?lang=en

INSTALLATION
1. Copy the "claudiosql" folder to your server, inside the website (FTP or your hosting panel's file
   manager). A dedicated subdomain, always on HTTPS, is best.
2. Open https://yoursite/claudiosql/ and sign in with your MySQL user and password.

Requires PHP 7.4 or later with the pdo_mysql and openssl extensions. With mysqli (almost always there)
query results become editable; with zlib you can also import .gz files.

CONFIGURATION (optional)
- config.local.php, in the claudiosql folder: favorites, allowed hosts, language, limits. Put only the
  keys you want to change; the full list, with explanations, is in config.php (don't edit that one).
  Example:
      <?php
      return [
          'servers' => [
              ['name' => 'Production', 'host' => 'localhost', 'database' => 'shop', 'color' => 'red', 'readonly' => true],
          ],
      ];
- allowed_ips.php: when present, ClaudioSQL answers only the IP addresses listed and pretends not to
  exist for everyone else (404). Start from allowed_ips.example.php and rename it.

Out of the box you can connect only to the database on the same server (localhost): add other hosts
to 'allowed_hosts'.

UPDATING
When a new version is out, a notice in the title bar links to the download page: the server asks
claudiotassitano.it at most once a day (to turn it off: 'update_check' => '' in config.local.php).
Replace the claudiosql folder with the new one, keeping your config.local.php and allowed_ips.php.

LICENSE
ClaudioSQL is free and open source under the MIT license (full text in claudiosql/LICENSE): you may use,
modify and redistribute it, commercially too, keeping the copyright notice. It comes as is, without
warranty.

SECURITY
- Always use HTTPS: your MySQL user and password travel from the browser to the server.
- If you can, restrict access with allowed_ips.php or your hosting panel's password protection.
- To work read-only, tick "Read-only session" in the connection window, or use a MySQL user that
  can only read.
