I recently moved a WordPress website, and after that I attempted using Softaculous to access the admin panel, however the installation doesn’t import:

I checked the usual: folder/file permissions & owner, .htaccess and wp-config.php
Inside wp-config.php DB_HOST was defined as $_ENV{DATABASE_SERVER} and because Softaculous connects to the database to get site name and other information, the connection failed.

Simply setting localhost as the database name fixes the problem and the installation is now correctly imported into Softaculous.