| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
321 バイト追加 、 2021年3月12日 (金) 11:34
</pre>
====Userの作成====
*'%' は、localhostのワイルドーカードにはならない
<pre>
MariaDB [(none)]> create user 'sample_user'@'%' identified by 'password';
MariaDB [(none)]> grant all privileges on sample_db.* to 'sample_user'@'%' with grant option;
Query OK, 0 rows affected (0.002 sec)
 
MariaDB [(none)]> create user sample_user@localhost identified by 'north123';
Query OK, 0 rows affected (0.003 sec)
 
MariaDB [(none)]> grant all privileges on sample_db.* to sample_user@localhost with grant option;
Query OK, 0 rows affected (0.003 sec)
</pre>
 
====設定====
*fuel/app/config/development/db.php

案内メニュー