hue init action is failing because the mysql installer prompts for user input
0 static files copied to '/usr/lib/hue/build/static', 1275 unmodified, 168 post-processed.
Setting up mysql-community-server (8.0.39-1ubuntu20.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring mysql-community-server
----------------------------------
MySQL 8 uses a new authentication based on improved SHA256-based password
methods. It is recommended that all new MySQL Server installations use this
method going forward. This new authentication plugin requires new versions of
connectors and clients, with support for this new authentication method
(caching_sha2_password). Currently MySQL 8 Connectors and community drivers
built with libmysqlclient21 support this new method. Clients built with older
versions of libmysqlclient may not be able to connect to the new server.
To retain compatibility with older client software, the default authentication
plugin can be set to the legacy value (mysql_native_password) This should only
be done if required third-party software has not been updated to work with the
new authentication method. The change will be written to the file
/etc/mysql/mysql.conf.d/default-auth-override.cnf
After installation, the default can be changed by setting the
default_authentication_plugin server setting.
1. Use Strong Password Encryption (RECOMMENDED)
2. Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)
Select default authentication plugin
hue init action is failing because the mysql installer prompts for user input