差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン 最新のリビジョン 両方とも次のリビジョン | ||
freebsd:freebsd_11_install_mariadb_10.3 [2018-10-23 17:46] Decomo 作成 |
freebsd:freebsd_11_install_mariadb_10.3 [2018-11-07 11:51] Decomo |
||
---|---|---|---|
行 83: | 行 83: | ||
</ | </ | ||
+ | ご丁寧にインストール時に「MariaDBはhier(7)を尊重して/ | ||
+ | < | ||
+ | MariaDB respects hier(7) and doesn' | ||
+ | my.cnf. Please move existing my.cnf files from those paths to | ||
+ | / | ||
+ | </ | ||
==== my.cnfの作成 ==== | ==== my.cnfの作成 ==== | ||
行 285: | 行 291: | ||
+--------------------------+----------------------------------+ | +--------------------------+----------------------------------+ | ||
8 rows in set (0.001 sec) | 8 rows in set (0.001 sec) | ||
+ | </ | ||
+ | |||
+ | ==== ユーザーの追加 ==== | ||
+ | |||
+ | < | ||
+ | create user ユーザー名@localhost identified by パスワード; | ||
+ | </ | ||
+ | |||
+ | ==== DBと権限の追加 ==== | ||
+ | |||
+ | DBの作成 | ||
+ | < | ||
+ | create database データベース名 | ||
+ | </ | ||
+ | |||
+ | 指定DBの全権限をユーザーに追加 | ||
+ | < | ||
+ | grant all on データベース名.* to ユーザー名@localhost identified by パスワード; | ||
</ | </ | ||
行 350: | 行 374: | ||
</ | </ | ||
+ | ===== 参考サイト ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// |