問題タブ [ora2pg]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
58 参照

perl - PostgreSQL 14 で Ora2Pg を実行する

ora2pgツールバージョン 22.1を使用して、古い Oracle サーバーからデータを移行するためのPostgreSQL v14サーバーがあります。

を実行しようとすると問題が発生しora2pg -c properties.conf、次の出力が得られます。

[========================>] 2/2 テーブル (100.0%) スキャン終了。DBI connect('dbname=postgres;host=hostname;port=5432','username',...) failed: authentication method 10 not supported at C:/Strawberry/perl/site/lib/Ora2Pg.pm line 2100.致命的: 1 ... 認証方法 10 はサポートされていません エクスポートを中止しています...

私がいくつかの調査を行ったとき、それauthentication method 10はおそらくSCRAM認証方法であり、PostgreSQL 14のデフォルトであることを知っています.

Authen::SCRAMで perl パッケージをインストールしようとしましたcpanが、perl プログラミングに慣れていないため、役に立ちませんでした。

質問は次のとおりです。

  • authentication method 10ora2pgで有効にする方法はありますか?
  • もしそうなら、どうすればいいですか?