On this page

Installation

Requirements

  • Operating system: Windows x64 or Linux x64 (64 bit Intel or AMD processor), the two supported systems. macOS and ARM processors are not supported. On Linux, the graphical CONFIG screen is not available: see the Linux section below.
  • Java: BroadSQL includes Java. You do not need to install or configure Java separately, on Windows or on Linux. Each ZIP includes the Java runtime BroadSQL runs with, in its runtime folder (Eclipse Temurin 21, the same version in both ZIPs). A Java already installed on the computer, JAVA_HOME and the PATH are not used. See Technical requirements for the details.
  • No administrator rights: BroadSQL runs from the folder you unzip it to.

Install

  1. Download the ZIP of your system from the downloads page: BroadSQL-<version>-windows-x64.zip for Windows, BroadSQL-<version>-linux-x64.zip for Linux. A runtime only works on its own system: the Windows ZIP does not run on Linux, and the Linux ZIP does not run on Windows.
  2. Optionally, check that the file was not damaged or altered on the way: compare its SHA-256 checksum with the one on the downloads page, as described in Verifying a download.
  3. Unzip it to a location on your disk, e.g. C:\BroadSQL. The folder name may contain spaces and accented letters, but no semicolon (see Folder name). On Linux, use unzip, which keeps the permissions of the files.
BroadSQL/
  BroadSQL.bat            Windows launcher (recommended)
  BroadSQL.ps1            Optional PowerShell launcher (Windows), see Starting from PowerShell
  broadsql.sh             Linux/Unix launcher
  connect.bat             Synonym for BroadSQL.bat (Windows)
  conf/                   Configuration files (broadsql.ini, the CDF, log settings)
  drivers/                Add JDBC drivers not included in the distribution here
  extensions/             Add JAR files with additional commands here
  lib/                    Required libraries, including broadsql.jar
  logs/                   Log files
  runtime/                The Java runtime BroadSQL runs with (RUNTIME-INFO.txt says which one); nothing of yours goes here
  samples/                The WORLD sample database (WorldDB.mv.db) and, in sql/, the scripts that build the CINEMA and LIBRARY samples
  jsscripts/              Folder of the experimental JS scripts (separate from the Scripts Library)
  scripts/                The Scripts Library: your reusable scripts (run with @name or LIB RUN name)

The launchers always start BroadSQL from this folder, so its relative paths (conf/, lib/, samples/) work whatever folder you start them from. They always start it with the Java runtime of the runtime folder. Once started, CONNECT WORLD; opens the included sample database: see Getting started. Two more samples, CINEMA and LIBRARY, ship as the SQL that creates them and are built in a few seconds: see Sample databases.

Windows

  1. Edit conf/broadsql.ini if needed (the defaults work out of the box): see Application settings for every setting it supports.
  2. Start BroadSQL with BroadSQL.bat (or its synonym connect.bat), optionally passing a connection ID as an argument: double-click it in File Explorer, or type it in a Command Prompt or PowerShell window opened in the installation folder. This is the recommended way on Windows: it needs neither PowerShell nor administrator rights.
  3. Log in with the default password clipper8AD (change it later with SET MASTER PASSWORD;).
  4. Add database connections with CONFIG;.

See Getting started for a full walkthrough of steps 3 and 4.

Starting from PowerShell

In a PowerShell window, a file of the current folder is started with .\ in front of its name (PowerShell does not look in the current folder by itself):

.\BroadSQL.bat
.\BroadSQL.bat WORLD

BroadSQL.bat works whatever the PowerShell settings of the computer. BroadSQL.ps1 is an optional alternative that starts BroadSQL.bat. PowerShell runs a script such as .\BroadSQL.ps1 only when its execution policy allows scripts; on many computers it does not, and PowerShell answers that running scripts is disabled on this system (UnauthorizedAccess). For the same reason, "Run with PowerShell" in File Explorer may do nothing. Use BroadSQL.bat in that case. BroadSQL never changes the execution policy of your computer.

If you trust the script, you can allow it for one PowerShell process only, which changes no setting of the computer:

powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\BroadSQL.ps1

A policy set by your organization can still refuse it.

Folder name

The installation folder may contain spaces, accented letters, parentheses and characters such as &, ! or '. It must not contain a semicolon (;): Java cannot start from such a folder, and BroadSQL.bat says so.

Linux

1. Nothing to install. broadsql.sh starts BroadSQL with the Java runtime of the installation, runtime/bin/java, whatever Java the computer has. It first checks that this runtime is for this computer (Linux x64) and says so when it is not. If the unzip tool did not keep the file permissions, broadsql.sh restores those of the runtime when the folder allows it, and otherwise tells you the chmod command to type.

2. Start BroadSQL from the installation folder:

./broadsql.sh

or from any folder, with the full path of the script (for example /opt/broadsql/broadsql.sh, or a symbolic link to it): the script always runs from its own installation folder. Add a connection ID to open that connection at startup, for example ./broadsql.sh WORLD; without one, BroadSQL starts at the BroadSQL> prompt, not connected to any database. If your unzip tool did not keep the file permissions and the script is not executable, type chmod +x broadsql.sh once.

3. Log in with the default password clipper8AD (change it later with SET MASTER PASSWORD;).

4. Review conf/broadsql.ini (see Application settings). A relative folder is relative to the installation folder (see Paths). Set DefaultFolder, the folder DUMP writes to: the shipped value /home/myuser/broadsql/temp is an example to replace with an existing folder of your own. The activity log is written to the installation's logs folder, and extension JAR files are read from its extensions folder, as on Windows.

5. CONFIG is not available on Linux: add connections with ADD CONNECTION <id>; (see Getting started, Step 1).

See Getting started for what to do next.

Found something wrong or unclear on this page? , with the page address.