---
title: "Deploy MariaDB Starter Package"
description: "Deploys MariaDB with Adminer UI from a repo"
category: "Starters"
url: https://railway.com/deploy/BrjaHe
---

# Deploy MariaDB Starter Package

Deploys MariaDB with Adminer UI from a repo

**[Deploy MariaDB Starter Package on Railway](https://railway.com/template/BrjaHe)**

- **Creator:** T3cH_W1z4rD's Projects
- **Category:** Starters
- **Total deploys:** 139

## Template content

### Adminer

- **Source:** https://github.com/railwayapp-templates/mariaDB
- **Public domain:** Yes

### Database

- **Source:** https://github.com/railwayapp-templates/mariaDB

## Documentation

## What is MariaDB?
MariaDB Server is one of the most popular database servers in the world. It's made by the original developers of MySQL and guaranteed to stay open source. Notable users include Wikipedia, DBS Bank, and ServiceNow.

The intent is also to maintain high compatibility with MySQL, ensuring a library binary equivalency and exact matching with MySQL APIs and commands. MariaDB developers continue to develop new features and improve performance to better serve its users.

## ✨ Services
- MariaDB
- Adminer (Web GUI for Database management)

## 💁‍♀️ How to use

- Click the Railway button 👆
- Add the required environment variables. For more environment variables check the [official docs](https://mariadb.com/kb/en/mariadb-server-docker-official-image-environment-variables/)
- `init_db.sql` &amp; `create_user.sql` are custom scripts that will be executed on startup. You can customize them as per your needs.
- Deploy
- To access the Adminer GUI, use the railway public url. For example: `https://PROJECT_NAME.up.railway.app/`
![login](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/login.png)
- You can login into adminier with Server as `database` and username & password which you configured during service configuration or you can find under environmental variable for database service in Railway UI.
- You can utilize the railway internal network to connect to the database from other services.  For example `database.railway.internal` should be your database host.
- You can view list of databases and tables in the Adminer GUI
![adminer](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/database.png)
- To view tables within a database, click on the database name
![tables](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/adminer.png)
- Adminer also provides option to view table column infomration 
![columns](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/viewtable.png)
- You can edit and modify table structure using Adminer
![edit](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/updatetable.png)
- Table can be created from UI as well
![create](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/createtable.png)
- It also provider option to execute custom sql queries. By clicking on `SQL Command` you should be able to write your own sql and query the table you want.
![custom](https://raw.githubusercontent.com/railwayapp-templates/mariadb/main/img/customquery.png)
- To include your application make sure to create a separate folder and add new service. Use internal network to connect to db.
- Enjoy!

## 📝 Notes

- Source repo: https://github.com/MariaDB/mariadb-docker
- Docs: https://mariadb.com/kb/en/
- Adminer: https://www.adminer.org/

## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/BrjaHe
