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

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
281 バイト追加 、 2021年3月12日 (金) 07:13
|-
|}
====[[Databse]]の作成====
<pre>
piroto@puli-sub1:~$ mysql -u root -p
MariaDB [(none)]> create database sample_db default character set utf8;
Query OK, 1 row affected (0.002 sec)
</pre>
====Userの作成====
<pre>
MariaDB [(none)]> create user 'sample_user'@'%' identified by 'password';
Query OK, 0 rows affected (0.011 sec)
 
MariaDB [(none)]> grant all privileges on sample_db.* to 'sample_user'@'%' with grant option;
Query OK, 0 rows affected (0.002 sec)
</pre>

案内メニュー