I am facing a problem while creating database. I created a superuser named “rahi007”. Then using pgadmin4 I can easily create database and table and make it accessible through localhost. But when it comes to do the above thing, I can’t do this with ubuntu terminal. I need “rahi007” to be the owner of the database. I need a proper solution.
I tried looking for solutions but couldn’t find. I expect to get solution on how to create database with this user “rahi007” and make it live with localhost.