首页 > 其他 > 详细

基于lnmp快速搭建wordpress平台

时间:2020-10-14 19:10:11      阅读:30      评论:0      收藏:0      [点我收藏+]

技术分享图片

 

 技术分享图片

 

技术分享图片

 [root@localhost ~]# wget -i -c http;//dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm

[root@localhost ~]# yum install mysql57-community-release-el7-10.noarch.rpm -y

[root@localhost ~]# yum install mysql-community-server -y

技术分享图片

[root@localhost ~]# systemctl start mysqld

技术分享图片

 

 [root@localhost ~]# grep "password" /var/log/mysqld.log

2020-10-14T09:08:20.216673Z 1 [Note] A temporary password is generated for root@localhost: dpdHfbGX-4-O

  4.登录mysql

 

  [root@localhost ~]# mysql -uroot -p
  Enter password:

 

技术分享图片

 

mysql> alter user ‘root‘@‘localhost‘ identified by ‘lile@5201314‘;
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
mysql> set global validate_password_policy=0;
Query OK, 0 rows affected (0.00 sec)

mysql> set global validate_password_length=5;
Query OK, 0 rows affected (0.00 sec)

mysql> set password = password(‘000000‘);
Query OK, 0 rows affected, 1 warning (0.01 sec)

mysql> alter user ‘root‘@‘localhost‘ identified by ‘lile@5201314‘;

 

基于lnmp快速搭建wordpress平台

原文:https://www.cnblogs.com/insi2020/p/13816133.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!