Bug 170410 - MariaDB direct driver is missing
Summary: MariaDB direct driver is missing
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-01-21 08:06 UTC by Robert Großkopf
Modified: 2026-01-29 14:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2026-01-21 08:06:10 UTC
Open 
Version: 26.2.0.1 (X86_64)
Build ID: 334ecff79a5ea28464a392deab1041cf2e705201
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Start any Base file, which connects to MariaDB/MySQL in older version through direct connection.
You would get 
----
The connection to the external data source could not be established. No SDBC driver was found for the URL 'sdbc:mysql:mysqlc:192.168.178.20:3306/xrechnung'.
----
Base will connect to the URL with LO 25.8.4.2 and older without any problem. Driver isn't there for LO 26.2

You could test it without any database:
Press Base Database in main window.
Wizard for database appears.
Choose "Connect to an existing database" and → "MySQL/MariaDB"
Next: Choose "Connect directly"
Next: Database name 'test', Sever 'localhost'
Next: User name 'test', Password required. → Test connection (Password: some characters).
You will get
----
A driver is not registered for the URL sdbc:mysql:mysqlc:localhost:3306/test.
----
Driver isn't there
Comment 1 Alex Thurgood 2026-01-21 15:06:42 UTC
Works on macOS:

Version: 26.2.0.2 (AARCH64)
Build ID: 750d5fef117734aeeb00d37a069d6c814e9eb8ce
CPU threads: 8; OS: macOS 26.2; UI render: Skia/Metal; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded


Maybe corrected in 26.2.0.2 or specific to Linux release ?
Comment 2 Robert Großkopf 2026-01-21 15:16:38 UTC
Also missing in
Version: 26.2.0.2 (X86_64)
Build ID: 750d5fef117734aeeb00d37a069d6c814e9eb8ce
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Might be someone has forgotten this driver for *.rpm-packages?
Comment 3 Robert Großkopf 2026-01-21 15:40:04 UTC
Having a look at the installed files for MySQL/MariaDB: Seems there is no difference between LO 25.8.4.2 and LO 26.2.0.2. All files are there. Think the connection is lost somewhere.

Have also reset user profile: Same bug appears. Couldn't connect to MariaDB while I could connect (with the same system and same Base file) with LO 25.8.4.2 without any problem.

My system: OpenSUSE 15.6 64bit rpm Linux.
Comment 4 raal 2026-01-21 19:04:12 UTC
No repro with Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 8fb5be18f8febe88f7d0b72e4b30efd41891feb7
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

I have not MariaDB database, but when I try to connect to nonexistent server, I got error "server not found", not errors you mentioned.
Comment 5 Robert Großkopf 2026-01-21 20:15:25 UTC
(In reply to raal from comment #4)
> No repro with Version: 26.8.0.0.alpha0+ (X86_64)
> Build ID: 8fb5be18f8febe88f7d0b72e4b30efd41891feb7
> CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
> Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
> Calc: threaded
> 
> I have not MariaDB database, but when I try to connect to nonexistent
> server, I got error "server not found", not errors you mentioned.

Please test the version the bug is reported for.

I couldn't reproduce it with
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 63e4293827a6ed112b2cda317f80938acb35849f
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

but the bug appears here with LO 26.2.0.1 and LO 26.2.0.2
Might be it is a special bug of the rpm-packages.
Comment 6 jonson 2026-01-22 05:10:27 UTC Comment hidden (spam)
Comment 7 Robert Großkopf 2026-01-29 14:31:58 UTC
Bug still the same with
Version: 26.2.0.3 (X86_64)
Build ID: afbbd0df0edb6d40b450b0337ac646b0913a760c
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Change component to "Base", because driver isn't listed in extensions.