[MySQL5.7]WordPressのDB作成

LINEで送る
Pocket

$ grep 'temporary password' /var/log/mysqld.log
$ mysql_secure_installation
change root pass
all Y
  • create DB and user,pass
$ mysql -u root -p
> create database wordpress;
> grant all privileges on wordpress.* to wordpress@localhost identified by 'xxxxxxxxxxx';

Was this helpful?

0 / 0

コメントを残す 0

Your email address will not be published. Required fields are marked *