How to set additional option for Mariadb hosted on Railway?
anthowen
PROOP

a year ago

I installed mariadb on Railway, and I need to set --max_allowed_packet=128mb like in this docker compose command

mariadb:
    image: mariadb:10.9.3
    command: --max_allowed_packet=5GB

https://github.com/MariaDB/mariadb-docker/issues/467

please tell me on what section of railway, i can set this please?

Solved

4 Replies

anthowen
PROOP

a year ago

c0d65112-b1cd-4678-b0ec-8f9494590fc6


a year ago

You can set a custom start command to:

docker-entrypoint.sh mariadbd --max_allowed_packet=5GB

although, 5GB exceeds mariadb's maximum max-allowed-packet size - it'll likely just fallback to 1GB


anthowen
PROOP

a year ago

great, thanks


a year ago

!s


Status changed to Solved dev about 1 year ago


Loading...