■MariDB基本
yum install -y mariadb-server mariadb mariadb-devel
systemctl start mariadb
systemctl status mariadb
ps -aux | grep mysqld
systemctl enable mariadb
systemctl is-enabled mariadb
mysql
create database [databasename];
create user '[username]'@'localhost' identified by '[password]';
grant all on [databasename].* to [username]@localhost;
quit
入力するもの
DB_NAME
WordPressが接続しているデータベースの名前(DB名)
DB_USER
データベースユーザー名(DBユーザー名)
DB_PASSWORD
データベースユーザーが、データベースに接続するためのパスワード
https://api.wordpress.org/secret-key/1.1/salt/
で
自動生成しそれをコピー&ペーストして利用した