トップページ >  PostgreSQL >  DB作成できない
初版2012/02/04: 最終更新日2012/02/04
  DB作成できない
目次
DB作成できない
DB作成できない
pgAdminⅢを起動しながら、コマンドラインからcreatedbすると以下のようなエラーが出る場合があります。

C:¥PostgreSQL¥8.0¥bin>createdb -U postgres testDB
Password:
createdb: could not connect to database template1: fe_sendauth: no password supp
lied
この場合、一旦pgAdminⅢを終了します。その後同じコマンドを実行するとCREATE DATABASEと正常にDB作成ができます。

C:¥PostgreSQL¥8.0¥bin>createdb -U postgres testDB
Password:
CREATE DATABASE