How to Fix: psql: FATAL: database "<user>" does not exist
Postgres.app database not existing issue.
📋 Table of Contents
To resolve the issue of 'psql: FATAL: database "<user>" does not exist' when using Postgres.app on Mac, you need to create the database manually.
✅ Best Solutions to Fix It
Method 1: Create Database Manually
- Step 1: Open Postgres.app and navigate to the 'Data' directory.
- Step 2: Create a new database using the command `psql -c "CREATE DATABASE
;"`
🎯 Final Words
[Wrap-up]
Alternatively, you can also use the Postgres.app GUI to create a new database. To do this, open Postgres.app, click on 'New Database', select the desired database name and owner, and then click 'Create'.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Pc crashes shortly after launching game, possible cause: outdated grap
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: FPS drops
FPS drops in games can be caused by high system resource usage, outdat