简体   繁体   English

Postgres 错误:无法找到全局文件结尾/1262:权限被拒绝

[英]Postgres ERROR: could not seek to end of file global/1262: Permission denied

I'm new to PostgreSQL.我是 PostgreSQL 的新手。

I installed PostgreSQL 12 on the windows 10 desktop machine and trying to access it using pgAdmin 4.我在 Windows 10 台式机上安装了 PostgreSQL 12,并尝试使用 pgAdmin 4 访问它。

I am successfully connecting to the database but when trying to open Schemas, frequently getting below error:我已成功连接到数据库,但在尝试打开架构时,经常出现以下错误:

ERROR: could not seek to end of file global/1262: Permission denied错误:无法找到全局文件结尾/1262:权限被拒绝

Refer :参考 :

在此处输入图片说明

Don't understand what is issue不明白什么是问题

You did not install PostgreSQL successfully, since you are missing important system tables.您没有成功安装 PostgreSQL,因为您缺少重要的系统表。

Stop the server, delete the database directory and run initdb again to create a new, healthy database directory.停止服务器,删除数据库目录并再次运行initdb以创建一个新的、健康的数据库目录。

I installed PostgreSQL successfully but there is a problem on the drive on which database directory installed.我成功安装了 PostgreSQL,但安装数据库目录的驱动器出现问题。 Changing the drive of my current database directory by following the below steps worked for me.按照以下对我有用的步骤更改当前数据库目录的驱动器。

https://wiki.postgresql.org/wiki/Change_the_default_PGDATA_directory_on_Windows https://wiki.postgresql.org/wiki/Change_the_default_PGDATA_directory_on_Windows

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Postgres 错误:无法打开文件进行读取:权限被拒绝 - Postgres ERROR: could not open file for reading: Permission denied Postgres FATAL:无法打开日志文件权限被拒绝 - Postgres FATAL: could not open log file permission denied postgres 无法统计文件<basexxxx/xxxx>没有权限 - postgres could not stat file <basexxxx/xxxx> Permission denied PostgreSQL - &#39;无法截断文件“global/21607”:权限被拒绝&#39; - PostgreSQL - 'could not truncate file "global/21607": permission denied' 安装 Postgres 自定义类型 - 无法访问文件“...”:权限被拒绝 - Installing Postgres custom type - could not access file "...": Permission denied 无法连接到 PostgreSQL 13,无法打开文件« global/1262 »:无效参数 - Unable to connect to PostgreSQL 13, could not open file« global/1262 » : Invalid argument 铛:错误:无法删除文件:安装Postgres时拒绝权限 - clang: error: unable to remove file: Permission denied when installing Postgres Postgres 错误:表的权限被拒绝 - Postgres ERROR: permission denied for table Pgadmin 错误:无法打开文件读取:权限被拒绝 - Pgadmin ERROR: could not open file reading: Permission denied 启动 postgres 容器时出错 - mkdir:权限被拒绝 - Error starting postgres container - mkdir: Permission denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM