When performing a clean install of Drupal 8.7.2, I am getting an error on the Database Setup page related to failing to connect to my database. This is when using the default settings.
To resolve the issue, I must go to 'Advanced Options' and change the 'Host'
from: localhost
to: 127.0.0.1
I remember at some point this changed (maybe with PHP 5-7?) and I'm not sure why.
Hopefully this is helpful for anyone else having issues with the default settings.
I am new to Drupal 8 and am starting by building a sample site. I have everything setup right, but I'm getting the PDO connection error below. I'm pretty sure it has to do with hostname but I can't figure out what.
I am new to Drupal 8 and am starting by building a sample site. I have everything setup right, but I'm getting the PDO connection error below. I'm pretty sure it has to do with hostname but I can't figure out what.