On this page
Technical requirements
Runtime
- Java is included: you do not need to install Java, on Windows or on Linux. Since BroadSQL 5.6.0, both packages include the Java runtime BroadSQL runs with, in the
runtimefolder of the installation: the Eclipse Temurin 21 JRE of its platform, and only that one. You need no administrator rights either. The exact runtime version of each package is listed in Third-party dependencies. - Packages:
BroadSQL-<version>-windows-x64.zipfor Windows andBroadSQL-<version>-linux-x64.zipfor Linux, both for 64 bit Intel or AMD processors (x64). The exact runtime of an installation (vendor, version, platform, checksum, licence) is described inruntime/RUNTIME-INFO.txt. - Supported systems: Windows x64 and Linux x64, the two systems each release is built and tested for. Both packages include the same Java runtime version. Windows is the primary platform. On Linux, BroadSQL is tested on Ubuntu 24.04 (x64, glibc); Linux support currently has some known rough edges, and the graphical
CONFIGscreen is not available. - Not supported: macOS, ARM processors (Windows on ARM, Linux aarch64), 32 bit systems and Linux distributions without glibc (such as Alpine). No package is provided for them, and running BroadSQL there is not supported. On such a computer the package's runtime does not start;
broadsql.shsays so.
Which Java BroadSQL runs with
The launchers (BroadSQL.bat, the recommended one on Windows, connect.bat, the optional BroadSQL.ps1, broadsql.sh) always start BroadSQL with runtime\bin\java.exe (Windows) or runtime/bin/java (Linux) of their own installation folder, whatever the current folder is. JAVA_HOME and the PATH are not used, so a missing, older or incompatible Java on the computer changes nothing. When the runtime folder is incomplete, the launcher stops with a message instead of trying another Java: unzip the package again, into an empty folder. Only an installation of a release before 5.6.0, which has no runtime folder, uses the Java of the computer.
BroadSQL Desk, the optional extension, runs in the same Java as BroadSQL: it needs no other Java and brings none.
The runtime is a standard, complete JRE: Swing for CONFIG, every locale and character set, TLS and the usual root certificates, and the HTTP server BroadSQL Desk uses. JDBC drivers of the drivers folder and extension JAR files of the extensions folder load as they do with any Java 21.
On Linux, when the installation folder name is not plain ASCII (for example Données) and the locale is not UTF-8, broadsql.sh starts Java with the locale C.UTF-8, without which Java cannot read its own files there.
Java heap and memory
The 5.6.0 Windows launcher (BroadSQL.bat, also used by connect.bat and BroadSQL.ps1) and Linux launcher (broadsql.sh) configure -Xms2048m -Xmx4096m. -Xms2048m sets the initial Java heap to 2 GiB. -Xmx4096m allows the heap to grow up to 4 GiB. These are heap settings, not total process memory: Java, native libraries and the operating system need memory beyond the heap. The 4 GiB maximum is not a universal minimum physical RAM requirement. A measured minimum or recommended physical RAM figure has not been established.
No BroadSQL INI setting changes the heap. On Linux, the launcher reads the environment variable BROADSQL_JAVA_OPTS and passes its content to Java after the two defaults above, so it overrides them: BROADSQL_JAVA_OPTS=-Xmx1024m ./broadsql.sh starts with a 1 GiB maximum heap, which is what a small server usually wants. Never put a secret in that variable: the whole command line is visible in the list of processes. On Windows there is no such variable: changing the heap there means editing the installed BroadSQL.bat. No alternative sizes are prescribed here. Any custom value must keep the initial heap no larger than the maximum, and has to be set again after an upgrade, which replaces the launcher.
Security updates of the runtime
Each BroadSQL release ships the Temurin 21 security update that was current when the release was built. To get a newer runtime, install a newer BroadSQL release. Java security updates are published every quarter (January, April, July, October).
Databases supported out of the box
BroadSQL ships with JDBC drivers for four databases: no extra download needed:
| Database | Bundled driver version |
|---|---|
| H2 | 2.3.232 |
| PostgreSQL | 42.7.13 |
| HSQLDB | 2.7.4 |
| SQLite | 3.53.2.1 |
H2 is also the format BroadSQL itself uses for its own configuration database (the CDF), and one of the destination kinds the DUMP command can write to (see below).
SHOW DRIVERS; lists these four drivers with the source Bundled, and every driver you supplied (an external driver) with the source External.
Bundled, validated and external drivers
BroadSQL distinguishes three levels of support for a database driver:
| Level | Meaning | Drivers |
|---|---|---|
| Bundled | Included in BroadSQL, kept up to date with each release, and covered by BroadSQL's own tests. | H2, PostgreSQL, HSQLDB, SQLite |
| Officially validated | Tested by BroadSQL against the real database engine. | The bundled drivers: H2, HSQLDB and SQLite in every test run, PostgreSQL in the tests run against a PostgreSQL server. |
| External | A driver you install in the drivers folder. It works through the standard JDBC mechanism, on a best effort basis: BroadSQL does not test it and gives no guarantee for it. | Oracle, SQL Server, MySQL, MariaDB, Db2, Apache Derby and every other JDBC database |
A driver is bundled only while its project is actively maintained, works with the supported Java version, may be redistributed, and is tested by BroadSQL. A driver whose project stops being maintained leaves the bundled set; you can still install it yourself as an external driver.
A database whose driver is no longer included
A driver leaves the bundled set when its project stops being maintained; the database then works as an external one, like any other. Apache Derby left it in BroadSQL 5.5.5: its project was retired in October 2025, is read only and publishes no new release or fix. BroadSQL treats Derby exactly as MariaDB or any other external database: the same driver mechanism, the same checks, the same messages.
- Your Derby connections are kept. They stay in the CDF with their type (
DERBY EmbeddedorDERBY Client), URL and password. Until a Derby driver is installed,CONNECTsays that the driver classorg.apache.derby.iapi.jdbc.AutoloadedDriver(ororg.apache.derby.client.ClientAutoloadedDriver) was not found. - To keep using Derby, download a Derby release at your own discretion from the Apache Derby downloads (10.17 for Java 21) and copy into the
driversfolder:derby.jarandderbyshared.jarfor an embedded database,derbyclient.jarandderbyshared.jarfor a Derby network server. Restart BroadSQL, then check withSHOW DRIVERS;. - Best effort only: Derby then works like any external database, through the standard JDBC mechanism. BroadSQL gives no Derby-specific guarantee.
- Derby writes its
derby.logfile in the folder BroadSQL is started from (BroadSQL no longer moves it tologs).
Adding another database type
BroadSQL can connect to any JDBC-compliant database beyond the four bundled drivers listed above. For the steps, the URL format and the type to choose for a given database, see Connect to your database. Copy the vendor's JDBC .jar file into the drivers folder of the BroadSQL installation (directly in it, not in a subfolder), then restart BroadSQL: the launchers load the drivers folder when BroadSQL starts. Then SHOW DRIVERS; confirms it: each external driver (one you supplied) is listed with its version and its class, with the source External. A JAR file copied while BroadSQL was running is listed with Restart BroadSQL to load it; DETAILED adds the JAR path, the database types the driver serves and any message the driver wrote while it was inspected.
If a database type's driver class cannot be found on the classpath, CONFIG still lets it be selected but marks it (driver not found) in the type list, and ADD CONNECTION says so once you choose that type, naming the type and its driver class (never the other types). The connection can be saved either way; CONNECT reports a clear error naming the missing driver class until the matching jar is added and BroadSQL is restarted.
Microsoft SQL Server and Windows authentication
The Microsoft SQL Server driver uses a native library only for Windows integrated authentication (integratedSecurity=true in the URL): mssql-jdbc_auth-<version>.x64.dll (sqljdbc_auth.dll in older drivers), shipped in the driver's download. With a user name and a password (SQL Server authentication), the library is not needed. For integrated authentication, copy the library of the same version as the driver into a folder of the PATH environment variable, where Java finds native libraries on Windows. SHOW DRIVERS never loads this library, so it no longer prints a warning about it; a connection that needs it and cannot find it reports the driver's error.
Behavior that differs by database type
A handful of commands and internal checks are implemented only for specific database types rather than through a generic, driver-agnostic mechanism:
SET PASSWORDchanges a database password only on H2 and HSQLDB. On every other database type it refuses before changing anything: change the password with the tools of that database, then update the password BroadSQL saved withEDIT CONNECTIONorCONFIG.LINK TABLEonly works when the current connection is H2: it runs H2's ownCREATE LINKED TABLEstatement there, which has no equivalent in most other databases. The connection the table is linked from can be of any type whose JDBC driver BroadSQL has (H2, HSQLDB, PostgreSQL, or a driver added todrivers/).- Rollback of DDL statements (
CREATE/ALTER/DROP/TRUNCATE) after an uncommitted change is handled correctly for a known list of database types (SQLite, PostgreSQL, SQL Server, Apache Derby, Sybase, DB2, Informix, Firebird; databases where DDL does not force an implicit commit) and for Oracle and H2 (which BroadSQL can query directly for pending uncommitted transactions). For any other database type, HSQLDB included, BroadSQL tracks uncommitted-transaction state internally, which is less precise than asking the database directly. WithAutocommitoff, closing a connection (DISCONNECT, switching connection, leaving BroadSQL) always rolls back pending changes and never commits them; if the database cannot say whether changes are pending (for example an Oracle account without access toDBMS_TRANSACTION), BroadSQL warns, rolls back and closes the connection normally.
None of this affects ordinary SELECT/INSERT/UPDATE/DELETE/DDL statements, table/column browsing (DESCR, SHOW TABLES, etc.), or DUMP <table> alone: those work the same way regardless of database type, for any database reachable through a registered connection.
DUMP (export to a file, a spreadsheet, or H2)
DUMP (also typed PULL) can read from any currently connected database type: there is no restriction on the source. Its destination is a local H2 database (AS H2), a tab of an Excel/ODS spreadsheet (AS XLSX/AS ODS), or a whole file (AS CSV/AS TEXT/AS JSON/AS MD/AS HTML).
Regardless of destination, only "ordinary business data" column types can be exported: text, integers, decimals, floating point, boolean, and date/time/timestamp columns. Large objects (BLOB/CLOB/ NCLOB), binary data, and structural or vendor-specific types (arrays, structs, XML, etc.) are rejected with an explicit error rather than silently dropped or corrupted, see Export for the full command reference.
Configuration
Once BroadSQL runs, one settings file decides how it behaves on your computer: conf/broadsql.ini, on Windows and on Linux. It sets where exports are written and in which format by default, the CSV separator, the Scripts Library folder, the console's colors and history, the activity log, and the proxy used for APIs. The defaults work out of the box, but the export folder and the log folder usually deserve a look before real work. Every setting is described in Application settings.
Found something wrong or unclear on this page? Tell us, with the page address.