Learn Bash and SQL by Building a Bike Rental Shop - Build a Bike Rental Shop

Tell us what’s happening:
psql terminal keep asking for password whenever the bash script file is run.

This code below which is written exactly based on the tutorial which I have passed the test, if it is use in the visual studio code will keep asking for user password.

The script is running well except that the listed numbers of bikes are missing and then whenever the bash terminal requires an answer such as which bike to rent, I need to key in psql password.

At times I need to just give the password for 5 times then only the script will proceed to the next process.

How to solve this problem and how to use this program in real life. For example to use in a website for bike rental or book rental?

PSQL="psql -X --username=rosaforrestiana --dbname=salon--no-align --tuples-only -c"

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 OPR/96.0.0.0

Challenge: Learn Bash and SQL by Building a Bike Rental Shop - Build a Bike Rental Shop

Link to the challenge: