![]() ![]() Connect to the postgres service and open the psql shell: sudo -u postgres psql. ![]() Start your postgres service: sudo service postgresql start.You will get a prompt to enter your new password.Enter the command: sudo passwd postgres.The default admin user, postgres, needs a password assigned in order to connect to a database. sudo service postgresql stop to stop running your database.sudo service postgresql start to start running your database.sudo service postgresql status for checking the status of your database.There are 3 commands you need to know once PostgreSQL is installed: Confirm installation and get the version number: psql -version. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |