As Laravel just extends the mysql driver for mariadb you need to restore the previous mysql alias of mariadb as they removed it in mariadb-client 11.4
You also need the mariadb-client installed eventhough your mariadb-server is on an other machine.
@Poseidon281 did a PR kinda related to this and they answered it won't be changed until Laravel 12.x so we are stuck with either Mariadb11.3 or lower or the alias fix i provided
As Laravel just extends the mysql driver for mariadb you need to restore the previous mysql alias of mariadb as they removed it in mariadb-client 11.4 You also need the mariadb-client installed eventhough your mariadb-server is on an other machine.
@Poseidon281 did a PR kinda related to this and they answered it won't be changed until Laravel 12.x so we are stuck with either Mariadb11.3 or lower or the alias fix i provided