0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Metabase with MariaDB on Raspberry Pi OS

Last updated at Posted at 2020-09-25

MariaDB の準備

インストール作業は終わっているものとします。
(参考) Install MariaDB on Raspberry Pi OS

データベースの作成

pi@raspberrypi:~ $ mysql -u root -p
Enter password:
<snip>
MariaDB [(none)]> CREATE DATABASE metabase DEFAULT CHARACTER SET utf8;
Query OK, 1 row affected (0.001 sec)

MariaDB [(none)]> CREATE USER metabase IDENTIFIED BY 'metabase';
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> GRANT ALL ON *.* TO 'metabase'@'localhost' IDENTIFIED BY 'metabase';
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> quit;
Bye
pi@raspberrypi:~ $

Metabase の設定

Screen Shot 2020-09-25 at 14.47.18.png

完了です!

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?