私は手がかりを得ていません:
- postgreSQLにログインするだけ
- データベースを作成する
- テーブルを追加する
- レコードを挿入する
- 削除、更新など
これらのことは通常、 mysql を使用すると非常に簡単です。postgresqlの代替案に従ってセットアップを手伝ってもらえますか
a)デフォルトのパスワードをリセットします -- 非常にきれいな説明です。
b) mysql のスーパーユーザーが "root" であることはわかっています。これは PostgreSQL でも同じです。
c)コマンドラインからの方法(PostgreSQLのもの?):
 mysql -uroot -proot  
   create database testdb; 
   use testdb;
   create table test(id int(11) auto_increment, name varchar(20), primary key(id));
   insert into test(name) values("testing one"),("testing two"),("testing three"),("testing four");
   select * from test;
   update test set name=concat(name,now()) where id =3;
   delete from test where id =4;
   drop table if exists test;
   drop database if exists testdb;
EDIT MAC OS # デフォルトパスワードのリセット
sudo mate /Library/PostgreSQL/9.2/data/pg_hba.conf
置き換えられました(md5 with trust)
# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
と
# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
# IPv6 local connections:
host    all             all             ::1/128                 trust
保存
Reload Configuration.app を実行しました
 login to postgresql without password : 
  $ psql -U postgres
  postgres# ALTER USER postgres WITH PASSWORD 'new password';
  \q  
- pg_hba.conf のすべての変更を元に戻し (信頼を md5 に置き換えます)、保存します。
-構成の再読み込み
これで、新しいパスワードで postgresql にログインできるようになりました
psql -U postgres
Password for user postgres:[my new password]