0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

仮想マシンを作ろう! MariDBインストール編②

Posted at

■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/

自動生成しそれをコピー&ペーストして利用した

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?