fill up postgres db 1

fill up postgres db

psql -U postgres

Here is what the above code is Doing:
1. We’re creating a new database called “testdb”
2. We’re creating a new user called “testuser”
3. We’re giving the user “testuser” a password of “test123”
4. We’re giving the user “testuser” permission to do anything with the database “testdb”
5. We’re logging into the database as the user “testuser”

Similar Posts