start postgres server ubuntu code example

Example 1: restart postgres ubuntu

sudo service postgresql restart

Example 2: start postgresql ubuntu

sudo service postgresql start

Example 3: start mysql server linux terminal

sudo /etc/init.d/mysql start
or 
systemctl start mysql.service

Example 4: how to start psql in linux

sudo service postgresql start
# To start the postgresql service

Example 5: start postgres server

pg_ctl -D /usr/local/var/postgres start

Example 6: how to run postgresql in linux

sudo service postgresql-9.3 start

Tags:

Sql Example