Skip to content

[BUG] MariaDB not start when using configuration panel : "Found option without preceding group in config file" #365

@Sof69100

Description

@Sof69100

Platform
Window 11

Plugin
MariaDB (maybe some others)

Current Behavior
When enabling parameters in configuration panel, MariaDB is unable to start and retunr errpr :
"Found option without preceding group in config file"

Before checkbox checked :
Image

Image

After checkbox checked :

Image Image

Expected Behavior
App start normally with new configuration

Recurrence Probability
Always

Steps To Reproduce
Just clic on a checkbox and restart MariaDB

Anything else?
Solution : I managed to get rid of the error by manually editing the my.cnf file and move the rules added by FlyEnv inside the MariaDB tag

[mariadbd]
# Only allow connections from localhost
bind-address = 127.0.0.1
#bind-address = 0.0.0.0
sql-mode=NO_ENGINE_SUBSTITUTION
datadir="F:/flyenv/PhpWebStudy-Data/server/mariadb/data-11.8"
innodb_buffer_pool_size = 2048M  # <---------------- Moved here

I spotted that the same behavior occurs when using FlyEnv panel to configure PHP module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions