wordpress创建报错
来源:7-4 在swarm集群里通过service部署wordpress
慕莱坞4379800
2018-05-08
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)"
2回答
-
慕莱坞4379800
提问者
2018-05-08
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
00 -
慕莱坞4379800
提问者
2018-05-08
我看了一下 wordparess 报错日志 截图给您看看
012018-05-08
相似问题