Docker Community Forums

Share and learn in the Docker community.

Setting up Wordpress with Kitematic


(Webchun) #1

Hi, I’m trying to setup Wordpress container using Kitematic by following this video. So I created two containers, one is mysql and the other one is wordpress. I’m able to run mysql container but when I tried to run wordpress I got this error :

MySQL Connection Error: (2002) No such file or directory
Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in - on line 19
MySQL Connection Error: (2002) No such file or directory 

I have added these keys in the Environtment Variables :

WORDPRESS_DB_PASSWORD = mypassword
WORDPRESS_DB_HOST = localhost:32771

Have I missed something? Thank you