Qgis: QGIS 3でデータベースに接続が面倒に?でも大丈夫

Qgis3.03を利用していサーバ型でもローカル型でもデータベースの接続に
昔は、記録できたはずだが・・
I use Qgis 3.03 For database connection whether server type or local type
In the past, it was supposed to be able to record, but …

SnapCrab_NoName_2018-5-23_10-2-19_No-00
仕方ないので本当はしなければならなかったロールを作る。
サーバの状況を確認
Since no help create a role that had to be really.
Check server status

SnapCrab_NoName_2018-5-23_10-2-43_No-00

確かにログインロールはありません。
ログインロールの見つけ方。
昔は、複雑というか面倒だったけど、win10なら
There is no certainly login roll.
How to find a login role.
In the past, it was complicated or troublesome, but if win10

SnapCrab_NoName_2018-5-23_10-8-24_No-00

アカウントをポチ
Click on account

SnapCrab_NoName_2018-5-23_10-7-48_No-00

初めに表示されるのが、今の利用しているユーザ名(ローカルアカウント)別に、クラウドアカウントでもいいけど

ここに表示している名前で新しいログインネームを作成する。
大文字、小文字関係なく
postgres でUTF-8なら多分エンコードに問題ないと思う。
和名でも良かったんだけど、エンコードがQGISのサードパーティまで継承しているか問題なので、ユーザ名は英文字と記号でうまくいくと思う。
※データベースのインポートでクラッシュする原因が和名だったことがあったので、

pgadminでサクッと作成
It is displayed at the beginning,
By user name (local account) you are currently using,
Even if it’s a cloud account

Create a new login name with the name displayed here.
Regardless of upper case letters and lower case letters
If postgres is UTF – 8 I think that encoding is probably not a problem.
I was also good at Japanese name, but encode up to the third party of QGIS
Since it is inherited or problematic, I think that the user name will work with English letters and symbols.
* Since there was a case that the cause of the crash in database import was a Japanese name,

Create with pgadmin

SnapCrab_NoName_2018-5-23_10-3-10_No-00

すべてチェックで問題ない。
ただし、host,ip,portは、必ず設定する。
Everything is OK with no problem.
However, host, ip, and port must be set.

例えば、2トライアウトコミッションのアクセスは、別な仮想ホストデータベースに送るだけで良い。
For example, 2 Tryout commission accesses need only be sent to another virtual host database.
1

これで再度接続すると記録する必要も無く接続できる。
With this connection you can connect without having to record.

 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です