Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 459 Bytes
d15f07c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/bash
# Set PostgreSQL password once for all commands
export PGPASSWORD=password
echo "
✅ PostgreSQL credentials configured for passwordless access
You can now run psql commands without password prompts:
psql -h localhost -p 5433 -U postgres -d open_navigator
Or use commands like:
psql -h localhost -p 5433 -U postgres -d open_navigator -c 'SELECT version();'
The password is set via PGPASSWORD environment variable and ~/.pgpass file.
"
|