C# 连接到本机Oracle数据库 连接字符串

  • A+
所属分类:网络咨询

连接字符串

con = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=127.0.0.1) (PORT=1521)))(CONNECT_DATA=(SERVICE_NAME= orcl)));
User Id=oracle_test; Password=test";
 
其中Oracle数据库服务器IP:127.0.0.1

ServiceName:orcl

用户名:oracle_test

密码:test

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: