Files
bsd-apps/database/README.md
tschettervictor 2a70c5f2bd Update README.md
2024-09-15 13:27:26 -06:00

47 lines
838 B
Markdown

# MYSQL/MariaDB/PostgreSQL Database
### Command to fetch script
```
fetch https://raw.githubusercontent.com/tschettervictor/bsd-apps/main/database/database-install.sh
```
Don't forget to
```
chmod +x database-install.sh
```
## Install Notes
- set only ONE of the database types to 1
## Variables
MARIADB
- set to 1 to install MariaDB database
MYSQL
- set to 1 to install MySQL database
POSTGRESQL
- set to 1 to install PGSQL database
MARIADB_VERSION
- mariadb version to use (currently defaults to 106)
MYSQL_VERSION
- mysql version to use (currently defaults to 81)
PGSQL_VERSION
- postgres version to use (currently defaults to 15)
DB_NAME
- set your desired database name
DB_USER
- set your desired database user
## Mount points (should be mounted outside the jail)
- none
## Jail Properties
- none