Skip to content

[Bug]: MariaDB does not run on a system with a space in the Windows username #1320

@AndreasHendrickx

Description

@AndreasHendrickx

Platform

Windows

Operating system version

Windows 11 64but

System architecture

Windows

Herd Version

1.18.0

PHP Version

No response

Bug description

The MariaDB server has problems with WIndows usernames containing a space. The path in the log below is incorrect. As it should be C:\Users\Andreas Hendrickx\

An installation on a Windows system with a username without spaces is going fine.


Starting MariaDB (MariaDB) on port 3306 with datapath 7824fd57-0379-4f45-955b-3eae232d74e12025-03-13 7:45:13 0 [Warning] Can't create test file 'C:\Users\Andreas\DESKTOP-PA1HK0G.lower-test' (Errcode: 2 "No such file or directory")
�mariadbd.exe: Can't change dir to 'C:\Users\Andreas' (Errcode: 2 "No such file or directory")
2025-03-13 7:45:13 0 [ERROR] Aborting

Steps to reproduce

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions