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.
Drupal 8 on VPS. Nginx and php 7.2. Install went smoothly. Came back to it today and it then forced me to install again. Now I'm getting warnings during the install saying the directory files doesn't exist (it does), that default_settings doesn't exist (it does) and settings doesn't (it does). Not entirely sure what has gone wrong but no matter what I do I can't get past the requirements screen - and I'm not actually sure if I want to seeing as the site was working fine on Friday.
I'm doing a sort-of installation -- I'm moving an existing Drupal 7 site from an Ubuntu server to a RHEL server (long story). I've moved over the files, the database, and the Apache conf file. The site loads but when I try to sign in, the sign in page just reloads with no errors (I've also checked the logs -- nothin). Web searches point at mod_rewrite being missing but I've verified multiple times over that mod_rewrite is loaded.