ユーザ用ツール

サイト用ツール


wordpressインストール

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
wordpressインストール [2025/08/30 18:52] – [初期設定の変更] Minoru Kijimawordpressインストール [2025/08/30 19:12] (現在) – [初期設定の変更] Minoru Kijima
行 151: 行 151:
 MariaDB [(none)]> CREATE USER 'wpadmin'@'localhost' IDENTIFIED BY 'Password'; MariaDB [(none)]> CREATE USER 'wpadmin'@'localhost' IDENTIFIED BY 'Password';
 (snip) (snip)
-MariaDB [(none)]> GRANT ALL PRIVILEGES ON wp.* to wpadmin@localhost IDENTIFIED BY 'Password' WITH GRANT OPTION;+MariaDB [(none)]> GRANT ALL PRIVILEGES ON wp_wordpress.* to 'wpadmin'@'localhostIDENTIFIED BY 'Password' WITH GRANT OPTION;
 (snip) (snip)
 MariaDB [(none)]> FLUSH PRIVILEGES; MariaDB [(none)]> FLUSH PRIVILEGES;
行 177: 行 177:
 ==== データベースの作成 ==== ==== データベースの作成 ====
 <code> <code>
-$ mysql -u root -p+$ mysql -u wpadmin -p
 Enter password: Enter password:
 (snip) (snip)
-MariaDB [(none)]> CREATE DATABASE db_wordpress;+MariaDB [(none)]> CREATE DATABASE wp_wordpress;
 (snip) (snip)
-MariaDB [(none)]> show databases;+MariaDB [(none)]> SHOW DATABASES;
 +--------------------+ +--------------------+
 | Database           | | Database           |
 +--------------------+ +--------------------+
-db_wordpress       |+wp_wordpress       |
 | information_schema | | information_schema |
-| performance_schema | 
 +--------------------+ +--------------------+
 4 rows in set (0.002 sec) 4 rows in set (0.002 sec)
wordpressインストール.1756579950.txt.gz · 最終更新: by Minoru Kijima