I use docksal for developing on Drupal.

Recently I decided to install Drupal 9 with PostgreSQL as a database using Docksal.

Firstly, I cloned this git-repository. https://github.com/docksal/boilerplate-drupal9

Secondly, I modified some files accordingly to this manual https://github.com/docksal/docksal/issues/193#issuecomment-376343111

Lastly, I ran the "fin init" command and saw an error message

[warning] Failed to drop or create the database. Do it yourself before installing. ERROR 2002 (HY000): Can't connect to MySQL server on 'db' (115)

[notice] Starting Drupal installation. This takes a while.

In install.core.inc line 2298: Database settings:

Frankly speaking, I can't understand what does MySQL has to do with it? My DB driver should be PostgreSQL, my default database should be also PostgreSQL.

Has anybody encountered this problem? Is it possible to install Drupal 9 + PostgreSQL via the docksal service?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.