Search code examples
dockerssldrupalphpmyadminddev

How to access phpmyadmin on DDEV Windows 10 pro localhost with SSL record too long error


I am using DDEv and Docker with Windows 10 pro to set up a localhost install of drupal 8.8 using Composer. I have set up and configured the local drupal installation (it is a fresh install) and it appears to be running correctly, but in the admin section of the drupal site I receive a warning to change write permissions of sites/default/settings.php.

I tried to change settings using Filezilla, but it appears that local files in Filezilla do not provide access to write permissions? When I right-click the file in Filezilla, no permissions option appears.

Following troubleshooting tips from ddev, I tried to access phpmyadmin at https://mysitename.ddev.site:8036

Instead of loading phpmyadmin, I got the following error message:

Secure Connection Failed

An error occurred during a connection to dmckimep.ddev.site:8036. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. 

Please contact the website owners to inform them of this problem.

I've been searching around for a couple of hours now and do not find a solution to this. I ran ddev describe and all seems fine with the installation. The drupal site in the container seems to run okay. There are no port conflicts present so far as I have found, so I am not sure why I cannot get access to phpmyadmin.

I am a relative newbie in terms of skills, but have successfully maintained drupal 4-7 on localhost with XAMPP and my web host. Now I am wrestling with the move to drupal 8/composer/docker/ddev. Any suggestions would be much appreciated.

Thank you!


Solution

  • Update 2024-04-25: The command in 2024 is ddev get ddev/ddev-phpmyadmin && ddev restart

    Update 2023-11-29: DDEV uses the ddev-phpmyadmin add-on, and has had https support for PHPMyAdmin for years now, ddev describe will show you the URL. As explained below by @HEYDANNY, you install PhpMyAdmin with ddev get ddev-phpmyadmin && ddev restart and can launch it with ddev phpmyadmin, and it works fine with https.