正如您可以看到的结果debconf-get-selections | grep phpmyadmin
:
# MySQL application password for phpmyadmin:
phpmyadmin phpmyadmin/mysql/app-pass password
phpmyadmin phpmyadmin/mysql/admin-pass password
phpmyadmin phpmyadmin/setup-password password
phpmyadmin phpmyadmin/app-password-confirm password
phpmyadmin phpmyadmin/password-confirm password
# Configure database for phpmyadmin with dbconfig-common?
phpmyadmin phpmyadmin/dbconfig-install boolean true
# MySQL username for phpmyadmin:
phpmyadmin phpmyadmin/db/app-user string phpmyadmin
phpmyadmin phpmyadmin/internal/reconfiguring boolean false
phpmyadmin phpmyadmin/reconfigure-webserver multiselect
phpmyadmin phpmyadmin/passwords-do-not-match error
# Back up the database for phpmyadmin before upgrading?
phpmyadmin phpmyadmin/upgrade-backup boolean true
# Perform upgrade on database for phpmyadmin with dbconfig-common?
phpmyadmin phpmyadmin/dbconfig-upgrade boolean true
# Delete the database for phpmyadmin?
phpmyadmin phpmyadmin/purge boolean false
phpmyadmin phpmyadmin/remote/port string
# Reinstall database for phpmyadmin?
phpmyadmin phpmyadmin/dbconfig-reinstall boolean true
# MySQL database name for phpmyadmin:
phpmyadmin phpmyadmin/db/dbname string phpmyadmin
phpmyadmin phpmyadmin/install-error select abort
phpmyadmin phpmyadmin/internal/skip-preseed boolean false
# Connection method for MySQL database of phpmyadmin:
phpmyadmin phpmyadmin/mysql/method select Unix socket
phpmyadmin phpmyadmin/mysql/admin-user string debian-sys-maint
# Host running the MySQL server for phpmyadmin:
phpmyadmin phpmyadmin/remote/newhost string
phpmyadmin phpmyadmin/missing-db-package-error select abort
phpmyadmin phpmyadmin/setup-username string admin
phpmyadmin phpmyadmin/upgrade-error select abort
phpmyadmin phpmyadmin/remove-error select abort
# Host name of the MySQL database server for phpmyadmin:
phpmyadmin phpmyadmin/remote/host select localhost
# Database type to be used by phpmyadmin:
phpmyadmin phpmyadmin/database-type select mysql
# Deconfigure database for phpmyadmin with dbconfig-common?
phpmyadmin phpmyadmin/dbconfig-remove boolean true
那么这些是什么?:
phpmyadmin phpmyadmin/mysql/admin-pass password
phpmyadmin phpmyadmin/setup-password password
这.../mysql/admin-pass
是为了debian-sys-maint
让它自动生成吗? dbconfig-common 不会询问有关这些密码的任何问题,不是吗?我搜索了 phpmyadmin 的来源,所以它可能使用 debconf 数据库模板,不是吗?所以之后我在 debconf 源中搜索了这个模板,并且有这些行admin-pass
(即在这里),但如果有人确切地知道他们的意思,可能会更有效。
最好的问候,V7
答案1
我测试并可以确认:
phpmyadmin/mysql/admin-pass
是mysql root账户密码phpmyadmin/mysql/app-pass
(和phpmyadmin/app-password-confirm
)是phpmyadmin@localhost
帐户密码
我猜(但我没有证据):
phpmyadmin/password-confirm
是相同的phpmyadmin/app-password-confirm
phpmyadmin/setup-password
是debian-sys-maint
账户密码