dcycle / docker-drupal

Drupal + Drush in an up-to-date Docker image
2 stars 2 forks source link

Program UNKNOWN not found #22

Closed alberto56 closed 2 years ago

alberto56 commented 2 years ago

Sometime between March 5 and March 12, 2022, we are starting to get the following error when trying to build:

MySQL is up! Moving on...

 [warning] Program UNKNOWN not found. Proceed if you have already created or emptied the Drupal database.
 You are about to:
 * Create a sites/default/settings.php file

 // Do you want to continue?: yes.                                              

 [notice] Starting Drupal installation. This takes a while.
 [notice] Performed install task: install_select_language
 [notice] Performed install task: install_select_profile
 [notice] Performed install task: install_load_profile
 [notice] Performed install task: install_verify_requirements

In install.core.inc line 971:

  Database name field is required.                                             
  Database username field is required.                                         
  Resolve all issues below to continue the installation. For help configuring  
   your database server, see the <a href="https://www.drupal.org/docs/8/insta  
  ll">installation handbook</a>, or contact your hosting provider.<div class=  
  "item-list"><ul><li>Failed to connect to your database server. The server r  
  eports the following message: <em class="placeholder">SQLSTATE[HY000] [2002  
  ] No such file or directory</em>.<ul><li>Is the database server running?</l  
  i><li>Does the database exist or does the database user have sufficient pri  
  vileges to create the database?</li><li>Have you entered the correct databa  
  se name?</li><li>Have you entered the correct username and password?</li><l  
  i>Have you entered the correct database hostname and port number?</li></ul>  
  </li></ul></div>                                                             

Build step 'Execute shell' marked build as failure
Triggering a new build of [delete-droplet](https://ci.dcycle.com/job/delete-droplet/)
Finished: FAILURE
alberto56 commented 2 years ago

This is due to https://github.com/drush-ops/drush/issues/5094, users must change mysqli:// to mysql:// in drush si