Base supports JDBC and ODBC drivers, and it comes with some of its own drivers on board. You can connect a Base document to any type of database you have a driver for. Just use your favourit database engine such as MySQL, PostgreSQL, Firebird, SQLite or even MS Access.
A Base connection to a spreadsheet reads rectangles of used cells as if they were database tables. This connection to a pseudo-database is read-only and limited in many ways but good enough for mail merge and label printing.
P.S. It is possible to convert an embedded HSQLDB into a stand-alone HSQLDB.