I am attempting to set up a little PhpMyAdmin host in a LXC container running Devuan 6 (based on Debian 13) and I am running into problems with the setup script run by apt install, which I believe is actually dbconfig-mysql making its own set of debconf style prompts.

This is for my homelab, and my MariaDB server has self-signed SSL certs. The problem is that I can’t figure out either of the following:

  • how to have the dbconfig-mysql setup procedure not verify SSL certs
  • how to manually run the portion of the procedure which sets up a database for PhpMyAdmin in order to completely work around the dbconfig-mysql setup process

Regarding the former issue, in /etc/mysql/mariadb.conf.d/50-client.cnf I set

[client]
ssl-verify-server-cert = off

and

[client-mariadb]
disable-ssl-verify-server-cert

but this doesn’t affect the setup or dpkg-reconfigure process for PhpMyAdmin.

Regarding the second issue, I’m just stumped.

Any hints would be appreciated!

edit: changed dbconfig-common to dbconfig-mysql

  • ThorrJoOP
    link
    fedilink
    arrow-up
    1
    ·
    8 days ago

    Thanks, but I really dislike adminer’s UI, although granted I’ve been using a fairly old version.