LoginSignup
0
0

Oracle Databaseの接続文字列について

Posted at

Oracleの接続文字列は以下のような構造になっています

ユーザー名/パスワード@ホスト名:ポート/サービス名

例) sqlplusを利用して接続する場合

sqlplus HR/hrpassw0rd@localhost:1521/xepdb1

(必要になるたびググっており、時間のムダのため、自分用のメモとして残しておきます)

環境情報

C:\>sqlplus -V

SQL*Plus: Release 21.0.0.0.0 - Production
Version 21.3.0.0.0
SELECT * FROM v$version;
BANNER BANNER_FULL BANNER_LEGACY CON_ID
Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production
Version 21.3.0.0.0
Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production 0
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0