Skip to content

Bastille template to install and configure MariaDB Server 10.6 with some sane defaults.

License

Notifications You must be signed in to change notification settings

jail-templates/mariadb-10.6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MariaDB Server 10.6

Bastille template to install and configure MariaDB Server with some sane defaults.

  • Disables remote access to MySQL and databases.
  • Removes default anonymous users and test databases.
  • Has user configurable MySQL settings in /usr/local/etc/mysql/custom.cnf.

Bootstrap

bastille bootstrap https://github.com/jail-templates/mariadb-10.6

Apply template

bastille template $JAIL jail-templates/mariadb-10.6

Connecting to databases

Do note that by default there is no localhost inside non-VNET jails. When creating a MySQL user that can only be accessed from the localhost (e.g. CREATE USER 'wordpress'@'localhost'), use the $JAIL IP address instead (i.e. CREATE USER 'wordpress'@'1.2.3.4').

Support

Templates will be maintained until their respective software version is end-of-life. Repositories will then be archived and removed from any meta-templates.

If you have a question, suggestion or find a bug, please let us know via an Issues in the relevant repository or send us an email.

License

All templates are distributed under the 3-Clause BSD License. See LICENSE in every template repository for more information.