zoukankan      html  css  js  c++  java
  • 数据库连接字符串大全

    ADO   连接字串一网打尽  
       
      ODBC   DSNLess   Connections:  
       
      MS   Access   ODBC   DSNless   connection  
       
      Driver={Microsoft   Access   Driver   (*.mdb)};Dbq=c:\somepath\dbname.mdb;Uid=Admin;Pwd=pass;  
       
       
      dBase   ODBC   DSNless   connection  
       
      Driver={Microsoft   dBASE   Driver   (*.dbf)};DriverID=277;Dbq=c:\somepath\dbname.dbf;  
       
      Oracle   ODBC   DSNless   connection  
       
      Driver={Microsoft   ODBC   for   Oracle};Server=OracleServer.world;Uid=admin;Pwd=pass;  
       
      MS   SQL   Server   DSNless   connection  
       
      Driver={SQL   Server};Server=servername;Database=dbname;Uid=sa;Pwd=pass;  
       
      MS   Text   Driver   DSNless   connection  
       
      Driver={Microsoft   Text   Driver   (*.txt;   *.csv)};Dbq=c:\somepath\;Extensions=asc,csv,tab,txt;Persist   Security   Info=False;  
       
      Visual   Foxpro   DSNless   connection  
       
      Driver={Microsoft   Visual   FoxPro   Driver};SourceType=DBC;SourceDB=c:\somepath\dbname.dbc;Exclusive=No;  
       
      MySQL   DSNless   connection  
       
      driver={mysql};   database=yourdatabase;server=yourserver;uid=username;pwd=password;option=16386;  
       
      OLE   DB   Connections:  
       
      MS   Access   OLE   DB   connection    
       
      Provider=Microsoft.Jet.OLEDB.4.0;Data   Source=c:\somepath\dbname.mdb;User   Id=admin;Password=pass;    
       
      Oracle   OLE   DB   connection  
       
      Provider=OraOLEDB.Oracle;Data   Source=dbname;User   Id=admin;Password=pass;  
       
      MS   SQL   Server   OLE   DB   connection  
       
      Provider=SQLOLEDB;Data   Source=machineName;Initial   Catalog=dbname;User   ID=sa;Password=pass;  
       
      MS   SQL   Server   OLE   DB   connection   using   an   IP   address  
       
      Provider=SQLOLEDB;   Data   Source=xx.xx.xx.xx,1433;   Network   Library=DBMSSOCN;   Initial   Catalog=dbname;User   ID=sa;Password=pass;  
       
      MS   Text   Driver   OLE   DB   connection  
       
      "Provider=Microsoft.Jet.OLEDB.4.0;Data   Source=C:\yourpath;Extended   Properties='text;FMT=Delimited'"   
     
  • 相关阅读:
    再见了亲爱的学生们,再见了敬爱的同事们,再见了信狮
    #if defined 和#ifdef的区别
    C# ASP.NET Core开发学生信息管理系统(二)
    modelsim与debussy联合的问题
    C#批量生成大数据量无重复随机数据的另类高效实现
    DataColumn.Caption属性应用到DataGridView.HeaderText的方法
    [转载]安装网银安全控件
    近期学习SQL Server,收藏的几个学习教程网址备忘
    asp.net根据域名查ip C#版
    asp.net 2.0教程 成员资格和角色管理
  • 原文地址:https://www.cnblogs.com/ganmk/p/1235223.html
Copyright © 2011-2022 走看看