首页 > 代码库 > Oracle本地,远程,分布式登录

Oracle本地,远程,分布式登录

identify认证,确定; identity同一性,个性;

本地连接 sqlplus scott/tiger@localhost:1521/orcl 这句话就等于sqlplus scott/tiger

远程连接(虚拟机上的oracle) sqlplus scott/tiger@192.168.56.101:1521/orcl

分布式连接 要先建立数据库链路相当于collection create database link [db_link_name(这个随便起不能重复)] connect to [user_name(远端数据库登陆名)] identified by [password] using ‘[tns_name]‘;