正如你所看到的结果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
我测试并可以确认:
phpmyadmin/mysql/admin-pass
是mysql的root账号密码phpmyadmin/mysql/app-pass
(andphpmyadmin/app-password-confirm
) 是phpmyadmin@localhost
帐户密码我猜(但我没有证据):
phpmyadmin/password-confirm
是相同的phpmyadmin/app-password-confirm
phpmyadmin/setup-password
是debian-sys-maint
账户密码