วันพุธที่ 14 มกราคม พ.ศ. 2558

PostgreSQL Configuration on CentOS 6.6

[submarine@CentOS Python]$
[submarine@CentOS Python]$
[submarine@CentOS Python]$ su - postgres
Password:
-bash-4.1$ psql template1
psql (8.4.20)
Type "help" for help.

template1=# CREATE DATABASE srichaj;
CREATE DATABASE
template1=# GRANT ALL privileges on database srichaj to submarine;
GRANT
template1=# \q
-bash-4.1$ exit
logout
[submarine@CentOS Python]$ psql -d srichaj -U submarine
psql (8.4.20)
Type "help" for help.

srichaj=#


ไม่มีความคิดเห็น:

แสดงความคิดเห็น