$ sudo -u postgres psql
postgres=# create role gallery2;postgres=# createdb gallery2 -E UNICODE;
postgres=# ALTER DATABASE gallery2 OWNER TO gallery2;
postgres=# alter role gallery2 encrypted password 'gallery2';
postgres=# alter role gallery2 login;
postgres=# \q
沒有留言:
張貼留言