Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wordpress: Error establishing a database connection #8

Open
NeuroNex opened this issue Jan 9, 2016 · 1 comment
Open

Wordpress: Error establishing a database connection #8

NeuroNex opened this issue Jan 9, 2016 · 1 comment

Comments

@NeuroNex
Copy link

NeuroNex commented Jan 9, 2016

1.16 Running a WordPress Blog Using Two Linked Containers
7.1 Using Docker Compose to Create a WordPress Site

Both examples ends up with "Error establishing a database connection" when opening http://localhost
Test environment:

  • Ubuntu 14.0.3, 64bits
  • Docker 1.91
  • Docker Compose 1.51
@sankerkr
Copy link

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock'
exists!

Getting the following error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants