Guide · Engines
A MariaDB GUI client
Read this when you are picking a desktop client for MariaDB, or when one that works with MySQL won't reach your MariaDB server. MariaDB began as a fork of MySQL, and a lot still carries over: the MySQL page covers accounts as a user and a host, DDL that commits on its own, and metadata locks, and all of that holds here. This page is what MariaDB does differently, and what Seqora does on it.
Which MariaDB
MariaDB's long-term releases today are 10.11, 11.4, 11.8 and 12.3, by its maintenance policy. Between them come short-lived rolling releases. Two changes in that range decide whether a client connects at all: TLS on by default from 11.4, and the root account that signs in through a socket from 10.4.
root signs in through the socket
Since 10.4, root@localhost on Linux signs in with the unix_socket plugin: the operating system's root user gets in without a password, and nobody gets in with one. The authentication docs describe it. sudo mariadb works, and a GUI that connects over TCP as root with a password fails.
Create an account for the client instead, and give it what it needs.
CREATE USER 'app'@'%' IDENTIFIED BY '…';
GRANT SELECT, INSERT, UPDATE, DELETE ON commerce.* TO 'app'@'%';
TLS is on from 11.4
From 11.4, a server with no certificate configured makes a self-signed one, and the mariadb command-line client verifies the server by default. It can do that without a CA: it checks the certificate's fingerprint against a signature derived from your password, which works with the mysql_native_password, ed25519 and parsec plugins. The zero-configuration SSL page explains how.
That trick belongs to MariaDB's own clients. A client built on another TLS library sees a self-signed certificate and nothing more, so a mode that checks the certificate fails, and a mode that only encrypts works. For a server across the internet, install a certificate that names the host and check it.
Sign-in plugins
MariaDB has sign-in plugins MySQL doesn't, ed25519 and, from 11.6, parsec. It didn't have MySQL's default, caching_sha2_password, until a server plugin for it arrived in 11.4.9, 11.8.4 and 12.1, and that plugin isn't loaded unless you load it, by its plugin page. Before you pick a client, check which plugin your accounts use: SELECT user, host, plugin FROM mysql.user.
Where it differs from MySQL
- Plans. MariaDB measures a statement with
ANALYZE FORMAT=JSON, which runs it and adds real row counts (r_rows) and times to each step, by the ANALYZE FORMAT=JSON page. There is no tree format, andEXPLAIN ANALYZEis an old spelling ofANALYZE. - Statistics. Column statistics are engine-independent, collected with
ANALYZE TABLE orders PERSISTENT FOR ALLand kept inmysql.column_stats, by the statistics page. MySQL'sUPDATE HISTOGRAMsyntax is not how MariaDB does it. - Sequences.
CREATE SEQUENCEexists since 10.3, besideAUTO_INCREMENT. - JSON.
JSONis an alias forLONGTEXTwith aJSON_VALIDcheck, by the JSON type page. It is stored as text, where MySQL stores a binary format. - History. Tables declared
WITH SYSTEM VERSIONINGkeep every old row, andFOR SYSTEM_TIMEreads them, by the system-versioned tables page. - DDL. DDL commits on its own, as in MySQL, and has been atomic per statement since 10.6.1, by the atomic DDL page.
What to look for in a client
- It treats MariaDB as its own engine, with its plan format and its statistics, rather than as MySQL with a different logo.
- It connects to an 11.4 server with TLS on, and says plainly when the certificate wasn't checked.
- It speaks
mysql_native_password, andcaching_sha2_passwordfor an account moved over from MySQL. - It tells you a schema change commits as it goes.
Seqora on MariaDB
MariaDB is its own choice in the connection dialog, beside MySQL. Connect walks the dialog. These are the parts that answer the sections above.
- TCP and TLS. Seqora connects over TCP only, so give it an account with a password, not the socket
root.Prefertries TLS first.Requireencrypts without checking, which is what works against 11.4's self-signed certificate.Verifychecks the certificate and the host name against the certificates your operating system trusts. - Import.
Import connections…reads~/.my.cnf, including the[client-mariadb]and[mariadb-client]groups, and marks the connection MariaDB when one of those is there. It also reads DBeaver, DataGrip, TablePlus and.envfiles. - Plans (Pro). The Plan tab reads
ANALYZE FORMAT=JSONfor a measured run, andRaw plan JSONkeeps it as MariaDB printed it. Writes are never analyzed. - Sequences. MariaDB's sequences have their own
Sequencesfolder in the explorer, apart from theAUTO_INCREMENTcounters, and their own pages (Pro). - Statistics. The inspector shows no column statistics on MariaDB.
Run exactcounts the column instead. - DDL. Design mode (Pro) warns that each schema statement commits on its own, and its dry run replays the change on empty copies of the tables in a scratch database.
- Workload. The session recorder reads
performance_schemastatement digests. It needsperformance_schemaon, and says so when it is off.
Grid edits, the review, Revert from the grid, the ER diagram, the database brief and watching a table work as they do on PostgreSQL. The editor refuses the same statements as on MySQL: SET NAMES, executable comments and a bare DELIMITER.
Not on MariaDB: the lock forecast, undo from the SQL editor, View as role, Test index, column statistics and extension pages. The index advisor (Pro) ranks drops and suggests no adds. MySQL, MariaDB, SQLite and SQL Server has the full table.
Caveats
Reverton MariaDB covers grid edits. A write from the SQL editor can't be taken back in Seqora.- Seqora doesn't sign in with a client certificate. A server whose certificate comes from a private CA passes
Verifyonly once that CA is trusted by your operating system. - After an error inside a transaction, the badge reads
State unknownuntilRollbackorRefresh transactionsettles it. - No MariaDB version is certified yet. The target is MariaDB 11.4.