How to install mariadb using Homebrew in Bazzite!!

logs of mariadb install using homebrew in bazzite

satyendra@bazzite:~/Downloads/uget_download$ brew install mariadb
✔︎ JSON API formula.jws.json Downloaded 32.0MB/ 32.0MB
✔︎ JSON API cask.jws.json Downloaded 15.4MB/ 15.4MB
==> Fetching downloads for: mariadb
✔︎ Bottle Manifest mariadb (12.2.2) Downloaded 35.9KB/ 35.9KB
✔︎ Bottle Manifest mecab (0.996) Downloaded 11.3KB/ 11.3KB
✔︎ Bottle Manifest mecab-ipadic (2.7.0-20070801) Downloaded 11.8KB/ 11.8KB
✔︎ Bottle Manifest msgpack (6.1.0) Downloaded 10.8KB/ 10.8KB
✔︎ Bottle msgpack (6.1.0) Downloaded 52.7KB/ 52.7KB
✔︎ Bottle Manifest onigmo (6.2.0) Downloaded 10.0KB/ 10.0KB
✔︎ Bottle onigmo (6.2.0) Downloaded 476.7KB/476.7KB
✔︎ Bottle Manifest groonga (16.0.0_2) Downloaded 16.2KB/ 16.2KB
✔︎ Bottle Manifest libtirpc (1.3.7) Downloaded 13.5KB/ 13.5KB
✔︎ Bottle Manifest libnsl (2.0.1) Downloaded 4.6KB/ 4.6KB
✔︎ Bottle libtirpc (1.3.7) Downloaded 295.2KB/295.2KB
✔︎ Bottle Manifest linux-pam (1.7.2) Downloaded 6.4KB/ 6.4KB
✔︎ Bottle libnsl (2.0.1) Downloaded 46.2KB/ 46.2KB
✔︎ Bottle linux-pam (1.7.2) Downloaded 326.9KB/326.9KB
✔︎ Bottle groonga (16.0.0_2) Downloaded 3.8MB/ 3.8MB
✔︎ Bottle mecab-ipadic (2.7.0-20070801) Downloaded 13.6MB/ 13.6MB
✔︎ Bottle mecab (0.996) Downloaded 949.7KB/949.7KB
✔︎ Bottle mariadb (12.2.2) Downloaded 74.6MB/ 74.6MB
==> Installing dependencies for mariadb: mecab, mecab-ipadic, msgpack, onigmo, groonga, libtirpc, libnsl and linux-pam
==> Installing mariadb dependency: mecab
==> Pouring mecab–0.996.x86_64_linux.bottle.4.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/mecab/0.996: 20 files, 5MB
==> Installing mariadb dependency: mecab-ipadic
==> Pouring mecab-ipadic–2.7.0-20070801.x86_64_linux.bottle.1.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/mecab-ipadic/2.7.0-20070801: 15 files, 53MB
==> Installing mariadb dependency: msgpack
==> Pouring msgpack–6.1.0.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/msgpack/6.1.0: 39 files, 216.0KB
==> Installing mariadb dependency: onigmo
==> Pouring onigmo–6.2.0.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/onigmo/6.2.0: 17 files, 1.9MB
==> Installing mariadb dependency: groonga
==> Pouring groonga–16.0.0_2.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/groonga/16.0.0_2: 168 files, 24.5MB
==> Installing mariadb dependency: libtirpc
==> Pouring libtirpc–1.3.7.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.3.7: 86 files, 1MB
==> Installing mariadb dependency: libnsl
==> Pouring libnsl–2.0.1.x86_64_linux.bottle.1.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/libnsl/2.0.1: 18 files, 178KB
==> Installing mariadb dependency: linux-pam
==> Pouring linux-pam–1.7.2.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/linux-pam/1.7.2: 90 files, 1.6MB
==> Installing mariadb
==> Pouring mariadb–12.2.2.x86_64_linux.bottle.tar.gz
==> /home/linuxbrew/.linuxbrew/Cellar/mariadb/12.2.2/bin/mysql_install_db –verbose –user=satyendra –basedir=/home/linuxbrew/.linuxbrew/Cellar/mariadb/12.2.2 –datadir=/home/linuxbrew/.linuxbrew/var/mysql –tmpdir=/tmp
==> Caveats
A “/etc/my.cnf” from another install may interfere with a Homebrew-built
server starting up correctly.

MySQL is configured to only allow connections from localhost by default

To start mariadb now and restart at login:
brew services start mariadb
Or, if you don’t want/need a background service you can just run:
/home/linuxbrew/.linuxbrew/opt/mariadb/bin/mariadbd-safe –datadir\=/home/linuxbrew/.linuxbrew/var/mysql
==> Summary
🍺 /home/linuxbrew/.linuxbrew/Cellar/mariadb/12.2.2: 982 files, 291.5MB
==> Running `brew cleanup mariadb`…
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Caveats
==> mariadb
A “/etc/my.cnf” from another install may interfere with a Homebrew-built
server starting up correctly.

MySQL is configured to only allow connections from localhost by default

To start mariadb now and restart at login:
brew services start mariadb
Or, if you don’t want/need a background service you can just run:
/home/linuxbrew/.linuxbrew/opt/mariadb/bin/mariadbd-safe –datadir\=/home/linuxbrew/.linuxbrew/var/mysql

 

Leave a Comment