# Missing MariaDB

**URL:** <https://community.localwp.com/t/missing-mariadb/52460>\
**Category:** Support\
**Created:** [August 4, 2026, 9:56am UTC](https://community.localwp.com/t/missing-mariadb/52460 "2026-08-04T09:56:15Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![awr10e](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@awr10e](https://community.localwp.com/u/awr10e)\
**Post date:** [August 4, 2026, 9:56am UTC](https://community.localwp.com/t/missing-mariadb/52460/1 "2026-08-04T09:56:16Z")

</div>

# Bug Summary

Get warning that missing MariaDB v 10.4 and 10.6, start the effected servers and it tries to download the relevant version but get the following error

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/2/c/2cc186bafe35f295a3305836d81d7c589dd7935c.png)

# Steps to reproduce

Seemed to appear after installing MariaDB version 10.11.18, for a new server

# Environment Info

- Operating System: Windows 11
- What versions of site software Apache various, PHP various, MariaDB v 10.4 and 10.6
- Local Version 10.1.1+6939

# Supporting info

Tried to export the servers and create a new instance for them on later version but export button wont click

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

- log file

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 4, 2026, 4:51pm UTC](https://community.localwp.com/t/missing-mariadb/52460/2 "2026-08-04T16:51:42Z")

</div>

It looks like maybe Local is getting blocked. Have you checked over security/permissions? We have a Windows Troubleshooting guide below that goes over some common items worth checking. For example, ensure that Local is running as an administrator, that there are no security blockers, and that Local has access to update the Hosts file.

> **[Troubleshoot: Windows + Local](https://localwp.com/help-docs/troubleshooting/troubleshoot-windows-local/)**
>
> Windows is the operating system of choice for the majority of Local users, and while Local is compatible with Windows, below we will break down some common troubleshooting steps for Windows users to…

---

<div class="post-metadata">

**Author:** ![awr10e](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@awr10e](https://community.localwp.com/u/awr10e)\
**Post date:** [August 4, 2026, 7:42pm UTC](https://community.localwp.com/t/missing-mariadb/52460/3 "2026-08-04T19:42:59Z")

</div>

Hi Nick

None of the troubleshooting tips helped. Still get the same issue

I am still able to download different versions of PHP, so its not a permissions issue and i don’t use security blockers.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 4, 2026, 9:31pm UTC](https://community.localwp.com/t/missing-mariadb/52460/4 "2026-08-04T21:31:53Z")

</div>

Thank you for the follow up @awr10e!

Could you share a full Local Log with us? If you click on the Question Mark on the left side of your Local app, then scroll down a little bit you’ll see a Download Local Log button. This collects multiple logs into a zip for us.

---

<div class="post-metadata">

**Author:** ![awr10e](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@awr10e](https://community.localwp.com/u/awr10e)\
**Post date:** [August 5, 2026, 8:34am UTC](https://community.localwp.com/t/missing-mariadb/52460/5 "2026-08-05T08:34:57Z")

</div>

Hi Nick

I tried reinstalling but the same issue continued

here is the log

[local-logs.zip](https://community.localwp.com/uploads/short-url/3PED66Dg2ob16lhOZHZnHkoiP9D.zip) (1.1 MB)

---

<div class="post-metadata">

**Author:** ![jpegtobbe](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jpegtobbe](https://community.localwp.com/u/jpegtobbe)\
**Post date:** [August 5, 2026, 9:14am UTC](https://community.localwp.com/t/missing-mariadb/52460/6 "2026-08-05T09:14:51Z")

</div>

I got the exact same problem.

The problem might have begun when i first upgraded MariaDB on one site to newest version!?.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 5, 2026, 8:50pm UTC](https://community.localwp.com/t/missing-mariadb/52460/7 "2026-08-05T20:50:17Z")

</div>

@awr10e and @jpegtobbe, thank you for your follow-up.

As a test, can you try exporting and reimporting your site? The export button won’t click when the site isn’t started, but you can manually locate your site files to save and bundle them for reimport. If you click `Go to Site Folder` under your site name, it should take you right to where they are located.

- Once you have those copied, completely delete the site from Local
- Restart Local/your machine
- Reimport the site back into Local. You can refer here on how to [Restore from only Local site files](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#restore-local-site-from-site-files)

Keep us posted if your site works again or if you have any issues.

---

<div class="post-metadata">

**Author:** ![awr10e](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@awr10e](https://community.localwp.com/u/awr10e)\
**Post date:** [August 5, 2026, 10:23pm UTC](https://community.localwp.com/t/missing-mariadb/52460/8 "2026-08-05T22:23:51Z")

</div>

Hi Nick

I zipped one server that had issues and imported it using the latest MariaDB 10.11.18 and the server is now working. 6c more to try 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![jpegtobbe](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jpegtobbe](https://community.localwp.com/u/jpegtobbe)\
**Post date:** [August 6, 2026, 1:04pm UTC](https://community.localwp.com/t/missing-mariadb/52460/9 "2026-08-06T13:04:47Z")

</div>

It works if i import a site-file and selects MariaDB 10.11.18 in the import (thats good, then we can manage to fix the problem at the moment).

If i select the version i was using before i will get the same failure.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 6, 2026, 1:07pm UTC](https://community.localwp.com/t/missing-mariadb/52460/10 "2026-08-06T13:07:31Z")

</div>

> [@Nick-B](#):
>
> Could you share a full Local Log with us? If you click on the Question Mark on the left side of your Local app, then scroll down a little bit you’ll see a Download Local Log button. This collects multiple logs into a zip for us.

Would you be able to send over a log as well @jpegtobbe? That way we can compare and see if anything stands out.

For now though I’m glad that reimporting is getting things working again!

---

<div class="post-metadata">

**Author:** ![jpegtobbe](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jpegtobbe](https://community.localwp.com/u/jpegtobbe)\
**Post date:** [August 7, 2026, 1:29pm UTC](https://community.localwp.com/t/missing-mariadb/52460/11 "2026-08-07T13:29:43Z")

</div>

How do i share the log securely with you?

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 7, 2026, 1:53pm UTC](https://community.localwp.com/t/missing-mariadb/52460/12 "2026-08-07T13:53:33Z")

</div>

Our Devs were able to look into this and discovered a bug @jpegtobbe. So we won’t require collecting a log from you. We’re going to push out a new Local release in the coming days that will include a fix for the MariaDB issue, but for now your best workaround will be the import flow as you’ve done already.

@awr10e FYI on this as well.

---

<div class="post-metadata">

**Author:** ![jpegtobbe](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jpegtobbe](https://community.localwp.com/u/jpegtobbe)\
**Post date:** [August 7, 2026, 2:07pm UTC](https://community.localwp.com/t/missing-mariadb/52460/13 "2026-08-07T14:07:30Z")

</div>

That sounds great! Thanks!

---

<div class="post-metadata">

**Author:** ![vdimitris](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/vdimitris/32/14459_2.png) [@vdimitris](https://community.localwp.com/u/vdimitris)\
**Post date:** [August 9, 2026, 6:21am UTC](https://community.localwp.com/t/missing-mariadb/52460/14 "2026-08-09T06:21:14Z")

</div>

The issue appeared after activating 10.11

Here is a summary of the issue and how we resolved it.

Local’s add-on loader dedupes **by name only** :

```auto
isAddonLoaded(name, version) {
    const loadedAddon = this.loadedAddons.find((addon) => addon.name === name);
    if (!loadedAddon) return false;
    return compareVersionWithBuild(loadedAddon.version, version) >= 0; // skip if loaded >= candidate
}

```

Every MariaDB package declares `"name": "mariadb"`, so they all collide. Folders load alphabetically, and `mariadb-10.11.18+0` sorts **first** (`10.11` \< `10.4` \< `10.6` as strings) _and_ is the highest version — so it loaded and shadowed all the others. Previously the first-enumerated was `10.4.10`, the **lowest** , so every later version compared greater and loaded fine. Adding 10.11 inverted the whole thing.

Skipped services never enter `_registeredServices` → `getSiteServiceByRole(site,'db')` returns null → `.preprovision()` on null. The “Missing MariaDB v10.6” banner and the download loop were both downstream symptoms.

## The fix

Renamed `mariadb-10.11.18+0` → `zz-mariadb-10.11.18+0` so it enumerates last. Service identity comes from `package.json`, not the folder name, so this is safe — and all four now load cleanly. No app patching, nothing that Local’s asar integrity check would reject.

```auto
isAddonLoaded(name, version) {
    const loadedAddon = this.loadedAddons.find(
        (addon) => addon.name === name && addon.version === version);
    return Boolean(loadedAddon);
}

```

* * *

Now that this is solved it will be great if you also package in a next release MariaDB 11.8 or 11.4 at a minimum for all of us who are working using embeddings and require this functionality.

Right now we are “forced” to bypass the WP Local’s db instance and connect with our own DBs.

It will also be great if we can at least have the option to connect to an external DB so that there will be no need for your VM to start a DB instance we do not use.

---

<div class="post-metadata">

**Author:** ![jpegtobbe](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jpegtobbe](https://community.localwp.com/u/jpegtobbe)\
**Post date:** [August 18, 2026, 8:41am UTC](https://community.localwp.com/t/missing-mariadb/52460/15 "2026-08-18T08:41:55Z")

</div>

Hi! Any ETA on the 10.1.2 release?

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [August 24, 2026, 11:29am UTC](https://community.localwp.com/t/missing-mariadb/52460/16 "2026-08-24T11:29:34Z")

</div>

10.1.2 is out now with a fix for the missing MariaDB issue.

Try Local → Check for updates, or download from [https://localwp.com/releases/](https://localwp.com/releases/).

Release notes at [https://localwp.com/releases/10.1.2](https://localwp.com/releases/10.1.2).

---

<div class="post-metadata">

**Author:** ![jpegtobbe](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jpegtobbe](https://community.localwp.com/u/jpegtobbe)\
**Post date:** [August 24, 2026, 11:45am UTC](https://community.localwp.com/t/missing-mariadb/52460/17 "2026-08-24T11:45:06Z")

</div>

Thanks, it seams to work properly now! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2026, 11:45pm UTC](https://community.localwp.com/t/missing-mariadb/52460/18 "2026-08-25T23:45:26Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
