1

I am using docker on Ubuntu 18.04 having Drupal 8 and MySQL images. Also using Nginx as a web server (not an image in docker). Now during the installation of Drupal 8 on port 8080, it's not connecting to MySQL server. I am getting the error as: Error by drupal

I am entering the correct database username and password. But I am not sure about the advanced settings.

I have tried the host as my-ip:8080, 127.0.0.1:8080 but it didn't work.

EricLavault
  • 12,130
  • 3
  • 23
  • 45
A.S.
  • 23
  • 4
  • The error message indicates that you use unix sockets file to connect to mysql and mysql cannot file the indicated socket file. Drupal uses pdo to connect to mysql. The duplicate question is about fixing this error in pdo. – Shadow May 10 '19 at 07:05

0 Answers0