请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

wordpress创建报错

1、docker service create --name wordpress -p 80:80 --env WORDPRESS_DB_PASSWORD=root --env WORDPRESS_DB_HOST=mysql --network demo wordpress

2、docker service ps wordpress

ID            NAME             IMAGE             NODE               DESIRED STATE  CURRENT STATE              ERROR                      PORTS

whj8qx718e0m  wordpress.1      wordpress:latest  duliday-node1.com  Running        Running 4 seconds ago                                 

v05brml7va2x   \_ wordpress.1  wordpress:latest  duliday-node1.com  Shutdown       Failed 10 seconds ago      "task: non-zero exit (1)"  

k9yop2pmtpcu   \_ wordpress.1  wordpress:latest  duliday-node1.com  Shutdown       Failed 44 seconds ago      "task: non-zero exit (1)"  

kib9com65c68   \_ wordpress.1  wordpress:latest  duliday-node1.com  Shutdown       Failed about a minute ago  "task: non-zero exit (1)"  

glgj9y0hqq1g   \_ wordpress.1  wordpress:latest  duliday-node3.com  Shutdown       Failed about a minute ago  "task: non-zero exit (1)"  

https://img1.sycdn.imooc.com//szimg/5af1189e0001b76718960191.jpg

https://img1.sycdn.imooc.com//szimg/5af1189e0001ac9209700153.jpg

https://img1.sycdn.imooc.com//szimg/5af1189e0001323d17570245.jpg


正在回答 回答被采纳积分+3

插入代码

2回答

提问者 慕莱坞4379800 2018-05-08 18:50:59

WordPress not found in /var/www/html - copying now...

Complete! WordPress has been successfully copied to /var/www/html

MySQL Connection Error: (2054) The server requested authentication method unknown to the client

Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in Standard input code on line 22

Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in Standard input code on line 22

MySQL Connection Error: (2054) The server requested authentication method unknown to the client

Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in Standard input code on line 22

Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in Standard input code on line 22

MySQL Connection Error: (2054) The server requested authentication method unknown to the client

Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in Standard input code on line 22

Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in Standard input code on line 22

MySQL Connection Error: (2054) The server requested authentication method unknown to the client


0 回复 有任何疑惑可以回复我~
提问者 慕莱坞4379800 2018-05-08 18:48:33

我看了一下 wordparess 报错日志 截图给您看看

0 回复 有任何疑惑可以回复我~
  • yjcia #1
    mysql 用5.7版本试试
    回复 有任何疑惑可以回复我~ 2018-05-08 21:03:11
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号