简体   繁体   English

Postgres.app将无法启动

[英]Postgres.app won't start

I am running Yosemite and have had the Postgres.app running with no issues for months. 我正在运行Yosemite并且已经运行了Postgres.app几个月没有问题。 I started the app today and got this error 我今天启动了应用程序并遇到了这个错误

Could not initialize database cluster.
initdb: could not create directory "I": Permission denied

What could cause this to happen and what do I do to fix it? 什么可能导致这种情况发生,我该怎么做才能解决它?

This baffled me for ages too. 这也困扰了我很多年。 Turns out I had errantly typed while the preferences dialog was open which changed the data directory. 事实证明,当首选项对话框打开时,我已经错误地输入了更改数据目录。 Using 'default' fixed my issue. 使用'默认'修复了我的问题。

首选项

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM