Skip to content

Setup fails during MySQL version check on Debian 13 #480

@AHeinlein

Description

@AHeinlein

Yes, I know it's not yet released, but I am pretty sure this won't change: setup.sh fails in line 165 while checking for the used MySQL/MariaDB version.

The check runs:

DB_CLIENT_MAJOR_VERSION=$(eval mysql -V | cut -d' ' -f6 | cut -d'.' -f1) >>$SETUP_LOG 2>&1

On Debian13 , mysql -V returns:

mysql from 11.8.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper

So the command above results in "for" and needs to be changed to

DB_CLIENT_MAJOR_VERSION=$(eval mysql -V | cut -d' ' -f5 | cut -d'.' -f1) >>$SETUP_LOG 2>&1

The same for the following line, which checks the minor version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions