Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Installation 如何在安装过程中设置pgAdmin 4主密码?_Installation_Pgadmin 4_Postgresql 12 - Fatal编程技术网

Installation 如何在安装过程中设置pgAdmin 4主密码?

Installation 如何在安装过程中设置pgAdmin 4主密码?,installation,pgadmin-4,postgresql-12,Installation,Pgadmin 4,Postgresql 12,目前,我的代码使用以下方式执行postgreSQL的安装: var postgresql = new Process { StartInfo = { FileName = postgreSQLInstaller, Arguments = "--mode unattended --unattendedmodeui none --superpassword xpto", RedirectStandardOutput

目前,我的代码使用以下方式执行postgreSQL的安装:

var postgresql = new Process
{
    StartInfo =
    {
        FileName = postgreSQLInstaller,
        Arguments = "--mode unattended --unattendedmodeui none --superpassword xpto",
        RedirectStandardOutput = true,
        UseShellExecute = false,
        CreateNoWindow = true,
        WindowStyle = ProcessWindowStyle.Hidden
    }
};
postgresql.Start();
postgresql.WaitForExit();
postgresql.Close();
但是,启动pgAdmin 4时,会请求主密码。是否要传递一个额外的参数来插入安装中已经存在的默认密码,以便在打开pgAdmin时不必通知