数据库连接字符串

从FreeCAD到BIMBase:PlaneGCS约束求解器的移植使用指南 本文为BIMBase平台的开发者提供了一份详细的PlaneGCS几何约束求解器移植与集成指南。文章深入探讨了如何从FreeCAD中提取PlaneGCS核心代码,并将其适配到BIMBase的C++二次开发环境中,重点解决了内存管理、数据模型桥接、约束抽象以及性能调优等关键问题,旨在帮助开发者构建稳定高效的参数化设计模块。 阅读详情

 

记得自己每学习一门语言的时候,总是学了没有多久就在想如何连接数据库,好像觉得只有连接到了数据库,才有更多学习的意义,呵呵

前段时间搞一个 .NET 的程序,为了连接到SQLServer,调试了半天ConnectionString,这还只是SQLServer,还有什么oracle、informix啊

正好今天看到下面这个网站上把几乎所有的数据库ConnectionString作了一个总结,基本上是全了吧,以后调试程序的时候也有个参考了

http://www.connectionstrings.com/

看这个URL也知道这个网站是干什么的了,哈哈

 

 

还是把文章内容拷出来吧,免得哪天这个网站上不去了

  • ?SQL Server
      • ?ODBC

        • Standard Security:
          "Driver={SQL Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;"


        • ?Trusted connection:
          "Driver={SQL Server};Server=Aron1;Database=pubs;Trusted_Connection=yes;"


        • ?Prompt for username and password:
          oConn.Properties("Prompt") = adPromptAlways
          oConn.Open "Driver={SQL Server};Server=Aron1;DataBase=pubs;"


      • ?OLE DB, OleDbConnection (.NET)

        • ?Standard Security:
          "Provider=sqloledb;Data Source=Aron1;Initial Catalog=pubs;User Id=sa;Password=asdasd;"


        • ?Trusted Connection:
          "Provider=sqloledb;Data Source=Aron1;Initial Catalog=pubs;Integrated Security=SSPI;"
          (use serverName/instanceName as Data Source to use an specifik SQLServer instance, only SQLServer2000)
        • ?Prompt for username and password:
          oConn.Provider = "sqloledb"
          oConn.Properties("Prompt") = adPromptAlways
          oConn.Open "Data Source=Aron1;Initial Catalog=pubs;"


        • ?Connect via an IP address:
          "Provider=sqloledb;Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd;"
          (DBMSSOCN=TCP/IP instead of Named Pipes, at the end of the Data Source is the port to use (1433 is the default))
      • ?SqlConnection (.NET)

        • ?Standard Security:
          "Data Source=Aron1;Initial Catalog=pubs;User Id=sa;Password=asdasd;"
          ???-?or?-
          "Server=Aron1;Database=pubs;User ID=sa;Password=asdasd;Trusted_Connection=False"
          ???(booth connection strings produces the same result)


        • ?Trusted Connection:
          "Data Source=Aron1;Initial Catalog=pubs;Integrated Security=SSPI;"
          ???-?or?-
          "Server=Aron1;Database=pubs;Trusted_Connection=True;"
          ???(booth connection strings produces the same result)
          (use serverName/instanceName as Data Source to use an specifik SQLServer instance, only SQLServer2000)
        • ?Connect via an IP address:
          "Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd;"
          (DBMSSOCN=TCP/IP instead of Named Pipes, at the end of the Data Source is the port to use (1433 is the default))
        • ?Declare the SqlConnection:
          C#:
          using System.Data.SqlClient;
          SqlConnection oSQLConn = new SqlConnection();
          oSQLConn.ConnectionString="my connectionstring";
          oSQLConn.Open();


          VB.NET:
          Imports System.Data.SqlClient
          Dim oSQLConn As SqlConnection = New SqlConnection()
          oSQLConn.ConnectionString="my connectionstring"
          oSQLConn.Open()


      • ?Data Shape

        • ?MS Data Shape
          "Provider=MSDataShape;Data Provider=SQLOLEDB;Data Source=Aron1;Initial Catalog=pubs;User ID=sa;Password=asdasd;"
          Want to learn data shaping? Check out 4GuyfFromRolla's great article about Data Shaping >>
      • ?Read more

          • ?How to define wich network protocol to use

            • Example:
              "Provider=sqloledb;Data Source=190.190.200.100,1433; Network Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd;"

              NameNetwork library
              dbnmpntwWin32 Named Pipes
              dbmssocnWin32 Winsock TCP/IP
              dbmsspxnWin32 SPX/IPX
              dbmsvinnWin32 Banyan Vines
              dbmsrpcnWin32 Multi-Protocol (Windows RPC)


              Important note!
              When connecting through the SQLOLEDB provider use the syntax Network Library=dbmssocn
              and when connecting through MSDASQL provider use the syntax Network=dbmssocn

          • ?All SqlConnection connectionstring properties

            • This table shows all connectionstring properties for the ADO.NET SqlConnection object. Most of the properties are also used in ADO. All properties and descriptions is from msdn.

              NameDefaultDescription
              Application Name?The name of the application, or '.Net SqlClient Data Provider' if no application name is provided.
              AttachDBFilename
              -or-
              extended?properties
              -or-
              Initial File Name
              ?The name of the primary file, including the full path name, of an attachable database. The database name must be specified with the keyword 'database'.
              Connect Timeout
              -or-
              Connection Timeout
              15The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.
              Connection Lifetime0When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span (in seconds) exceeds the value specified by connection lifetime. Useful in clustered configurations to force load balancing between a running server and a server just brought on-line.
              Connection Reset'true'Determines whether the database connection is reset when being removed from the pool. Setting to 'false' avoids making an additional server round-trip when obtaining a connection, but the programmer must be aware that the connection state is not being reset.
              Current Language?The SQL Server Language record name.
              Data Source
              -or-
              Server
              -or-
              Address
              -or-
              Addr
              -or-
              Network Address
              ?The name or network address of the instance of SQL Server to which to connect.
              Enlist'true'When true, the pooler automatically enlists the connection in the creation thread's current transaction context.
              Initial Catalog
              -or-
              Database
              ?The name of the database.
              Integrated Security
              -or-
              Trusted_Connection
              'false'Whether the connection is to be a secure connection or not. Recognized values are 'true', 'false', and 'sspi', which is equivalent to 'true'.
              Max Pool Size100The maximum number of connections allowed in the pool.
              Min Pool Size0The minimum number of connections allowed in the pool.
              Network Library
              -or-
              Net
              'dbmssocn'The network library used to establish a connection to an instance of SQL Server. Supported values include dbnmpntw (Named Pipes), dbmsrpcn (Multiprotocol), dbmsadsn (Apple Talk), dbmsgnet (VIA), dbmsipcn (Shared Memory) and dbmsspxn (IPX/SPX), and dbmssocn (TCP/IP).
              The corresponding network DLL must be installed on the system to which you connect. If you do not specify a network and you use a local server (for example, "." or "(local)"), shared memory is used.
              Packet Size8192Size in bytes of the network packets used to communicate with an instance of SQL Server.
              Password
              -or-
              Pwd
              ?The password for the SQL Server account logging on.
              Persist Security Info'false'When set to 'false', security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state. Resetting the connection string resets all connection string values including the password.
              Pooling'true'When true, the SQLConnection object is drawn from the appropriate pool, or if necessary, is created and added to the appropriate pool.
              User ID?The SQL Server login account.
              Workstation IDthe local computer nameThe name of the workstation connecting to SQL Server.


              Note
              Use ; to separate each property.
              If a name occurs more than once, the value from the last one in the connectionstring will be used.
              If you are building your connectionstring in your app using values from user input fields, make sure the user can't change the connectionstring by inserting an additional property with another value within the user value.
    • ?Access
        • ?ODBC

          • ?Standard Security:
            "Driver={Microsoft Access Driver (*.mdb)};Dbq=C:/mydatabase.mdb;Uid=Admin;Pwd=;"


          • ?Workgroup:
            "Driver={Microsoft Access Driver (*.mdb)};Dbq=C:/mydatabase.mdb;SystemDB=C:/mydatabase.mdw;"


          • ?Exclusive:
            "Driver={Microsoft Access Driver (*.mdb)};Dbq=C:/mydatabase.mdb;Exclusive=1;Uid=admin;Pwd="


        • ?OLE DB, OleDbConnection (.NET)

          • ?Standard security:
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/somepath/mydb.mdb;User Id=admin;Password=;"


          • ?Workgroup (system database):
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/somepath/mydb.mdb;Jet OLEDB:System Database=system.mdw;"


          • ?With password:
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/somepath/mydb.mdb;Jet OLEDB:Database Password=MyDbPassword;"


    • ?Oracle
        • ?ODBC

          • ?New version:
            "Driver={Microsoft ODBC for Oracle};Server=OracleServer.world;Uid=Username;Pwd=asdasd;"


          • ?Old version:
            "Driver={Microsoft ODBC Driver for Oracle};ConnectString=OracleServer.world;Uid=myUsername;Pwd=myPassword;"


        • ?OLE DB, OleDbConnection (.NET)

          • ?Standard security:
            "Provider=msdaora;Data Source=MyOracleDB;User Id=UserName;Password=asdasd;"
            This one's from Microsoft, the following are from Oracle
          • ?Standard Security:
            "Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=Username;Password=asdasd;"


          • ?Trusted Connection:
            "Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;OSAuthent=1;"


        • ?OracleConnection (.NET)

          • ?Standard:
            "Data Source=Oracle8i;Integrated Security=yes;"
            This one works only with Oracle 8i release 3 or later
          • ?Specifying username and password:
            "Data Source=Oracle8i;User Id=username;Password=passwd;Integrated Security=no;"
            This one works only with Oracle 8i release 3 or later
          • ?Declare the OracleConnection:
            C#:
            using System.Data.OracleClient;
            OracleConnection oOracleConn = new OracleConnection();
            oOracleConn.ConnectionString = "my connectionstring";
            oOracleConn.Open();


            VB.NET:
            Imports System.Data.OracleClient
            Dim oOracleConn As OracleConnection = New OracleConnection()
            oOracleConn.ConnectionString = "my connectionstring"
            oOracleConn.Open()


        • ?Core Labs OraDirect (.NET)

          • ?Standard:
            "User ID=scott; Password=tiger; Host=ora; Pooling=true; Min Pool Size=0;Max Pool Size=100; Connection Lifetime=0"
            Read more at Core Lab and the product page.
        • ?Data Shape

          • ?MS Data Shape:
            "Provider=MSDataShape.1;Persist Security Info=False;Data Provider=MSDAORA;Data Source=orac;user id=username;password=mypw"
            Want to learn data shaping? Check out 4GuyfFromRolla's great article about Data Shaping >>
    • ?MySQL
        • ?ODBC

          • ?ODBC 2.50 Local database:
            "Driver={mySQL};Server=localhost;Option=16834;Database=mydatabase;"


          • ?ODBC 2.50 Remote database:
            "Driver={mySQL};Server=data.domain.com;Port=3306;Option=131072;Stmt=;Database=my-database;Uid=username;Pwd=password;"


          • ?ODBC 3.51 Local database:
            "DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=myDatabase;USER=myUsername;PASSWORD=myPassword;OPTION=3;"


          • ?ODBC 3.51 Remote database:
            "DRIVER={MySQL ODBC 3.51 Driver};SERVER=data.domain.com;PORT=3306;DATABASE=myDatabase;USER=myUsername;PASSWORD=myPassword;OPTION=3;"


        • ?OLE DB, OleDbConnection (.NET)

          • ?Standard:
            "Provider=MySQLProv;Data Source=mydb;User Id=UserName;Password=asdasd;"
        • ?MySqlConnection (.NET)

          • ?eInfoDesigns.dbProvider:
            "Data Source=server;Database=mydb;User ID=username;Password=pwd;Command Logging=false"
            This one is used with eInfoDesigns dbProvider, an add-on to .NET
          • ?Declare the MySqlConnection:
            C#:
            using eInfoDesigns.dbProvider.MySqlClient;
            MySqlConnection oMySqlConn = new MySqlConnection();
            oMySqlConn.ConnectionString = "my connectionstring";
            oMySqlConn.Open();


            VB.NET:
            Imports eInfoDesigns.dbProvider.MySqlClient
            Dim oMySqlConn As MySqlConnection = New MySqlConnection()
            oMySqlConn.ConnectionString = "my connectionstring"
            oMySqlConn.Open()


        • ?SevenObjects MySqlClient (.NET)

          • ?Standard:
            "Host=server; UserName=myusername; Password=mypassword;Database=mydb;"
            This is a freeware ADO.Net data provider from SevenObjects
        • ?Core Labs MySQLDirect (.NET)

          • ?Standard:
            "User ID=root; Password=pwd; Host=localhost; Port=3306; Database=test;Direct=true; Protocol=TCP; Compress=false; Pooling=true; Min Pool Size=0;Max Pool Size=100; Connection Lifetime=0"
            Read more at Core Lab and the product page.
    • ?Interbase
        • ?ODBC, Easysoft

          • ?Local computer:
            "Driver={Easysoft IB6 ODBC};Server=localhost;Database=localhost:C:/mydatabase.gdb;Uid=username;Pwd=password"


          • ?Remote Computer:
            "Driver={Easysoft IB6 ODBC};Server=ComputerName;Database=ComputerName:C:/mydatabase.gdb;Uid=username;Pwd=password"
            Read more about this driver: Easysoft ODBC-Interbase driver >>
        • ?ODBC, Intersolv

          • ?Local computer:
            "Driver={INTERSOLV InterBase ODBC Driver (*.gdb)};Server=localhost;Database=localhost:C:/mydatabase.gdb;Uid=username;Pwd=password"


          • ?Remote Computer:
            "Driver={INTERSOLV InterBase ODBC Driver (*.gdb)};Server=ComputerName;Database=ComputerName:C:/mydatabase.gdb;Uid=username;Pwd=password"
            This driver are provided by DataDirect Technologies >> (formerly Intersolv)


        • ?OLE DB, SIBPROvider

          • ?Standard:
            "provider=sibprovider;location=localhost:;data source=c:/databases/gdbs/mygdb.gdb;user id=SYSDBA;password=masterkey"


          • ?Specifying character set:
            "provider=sibprovider;location=localhost:;data source=c:/databases/gdbs/mygdb.gdb;user id=SYSDBA;password=masterkey;character set=ISO8859_1"


          • ?Specifying role:
            "provider=sibprovider;location=localhost:;data source=c:/databases/gdbs/mygdb.gdb;user id=SYSDBA;password=masterkey;role=DIGITADORES"
            Read more about SIBPROvider >>



          Read more about connecting to Interbase in this Borland Developer Network article http://community.borland.com/article/0,1410,27152,00.html

    • ?IBM DB2
        • ?OLE DB, OleDbConnection (.NET) from ms

          • ?TCP/IP:
            "Provider=DB2OLEDB;Network Transport Library=TCPIP;Network Address=XXX.XXX.XXX.XXX;Initial Catalog=MyCtlg;Package Collection=MyPkgCol;Default Schema=Schema;User ID=MyUser;Password=MyPW"


          • ?APPC:
            "Provider=DB2OLEDB;APPC Local LU Alias=MyAlias;APPC Remote LU Alias=MyRemote;Initial Catalog=MyCtlg;Package Collection=MyPkgCol;Default Schema=Schema;User ID=MyUser;Password=MyPW"


        • ?IBM's OLE DB Provider (shipped with IBM DB2 UDB v7 or above)

          • ?TCP/IP:
            Provider=IBMDADB2;Database=sample;HOSTNAME=db2host;PROTOCOL=TCPIP;PORT=50000;uid=myUserName;pwd=myPwd;


        • ?ODBC

          • ?Standard:
            "driver={IBM DB2 ODBC DRIVER};Database=myDbName;hostname=myServerName;port=myPortNum;protocol=TCPIP; uid=myUserName; pwd=myPwd"


    • ?Sybase
        • ?ODBC

          • ?Standard Sybase System 12 (or 12.5) Enterprise Open Client:
            "Driver={SYBASE ASE ODBC Driver};Srvr=Aron1;Uid=username;Pwd=password"


          • ?Standard Sybase System 11:
            "Driver={SYBASE SYSTEM 11};Srvr=Aron1;Uid=username;Pwd=password;"
            Do you know a userguide for Sybase System 11, 12, 12.5? E-mail the URL to connectionstrings.com now!! >>
          • ?Intersolv 3.10:
            "Driver={INTERSOLV 3.10 32-BIT Sybase};Srvr=Aron1;Uid=username;Pwd=password;"


          • ?Sybase SQL Anywhere (former Watcom SQL ODBC driver):
            "ODBC; Driver=Sybase SQL Anywhere 5.0; DefaultDir=c:/dbfolder/;Dbf=c:/mydatabase.db;Uid=username;Pwd=password;Dsn="""""
            Note! The two double quota following the DSN parameter at the end are escaped quotas (VB syntax), you may have to change this to your language specific escape syntax. The empty DSN parameter is indeed critical as not including it will result in error 7778.


            Read more in the Sybase SQL Anywhere User Guide >>
        • ?OLE DB

          • ?Adaptive Server Anywhere (ASA):
            "Provider=ASAProv;Data source=myASA"
            Read more in the ASA User Guide >>
          • ?Adaptive Server Enterprise (ASE) with Data Source .IDS file:
            "Provider=Sybase ASE OLE DB Provider; Data source=myASE"
            Note that you must create a Data Source .IDS file using the Sybase Data Administrator. These .IDS files resemble ODBC DSNs.
          • ?Adaptive Server Enterprise (ASE):
            "Provider=Sybase.ASEOLEDBProvider;Srvr=myASEserver,5000;Catalog=myDBname;User Id=username;Password=password"
            ???- some reports on problem using the above one, try the following as an alternative -

            "Provider=Sybase.ASEOLEDBProvider;Server Name=myASEserver,5000;Initial Catalog=myDBname;User Id=username;Password=password"
            This one works only from Open Client 12.5 where the server port number feature works,燼llowing fully qualified connection strings to be used without defining燼ny .IDS Data Source files.
        • ?AseConnection (.NET)

          • ?Standard:
            "Data Source='myASEserver';Port=5000;Database='myDBname';UID='username';PWD='password';"


          • ?Declare the AseConnection:
            C#:
            using Sybase.Data.AseClient;
            AseConnection oCon = new AseConnection();
            oCon.ConnectionString="my connection string";
            oCon.Open();


            VB.NET:
            Imports System.Data.AseClient
            Dim oCon As AseConnection = New AseConnection()
            oCon.ConnectionString="my connection string"
            oCon.Open()


    • ?Informix
        • ?ODBC

          • ?Informix 3.30:
            "Dsn='';Driver={INFORMIX 3.30 32 BIT};Host=hostname;Server=myserver;Service=service-name;Protocol=olsoctcp;Database=mydb;UID=username;PWD=myPwd


          • ?Informix-CLI 2.5:
            "Driver={Informix-CLI 2.5 (32 Bit)};Server=myserver;Database=mydb;Uid=username;Pwd=myPwd"


        • ?OLE DB

          • ?IBM Informix OLE DB Provider:
            "Provider=Ifxoledbc.2;password=myPw;User ID=myUser;Data Source=dbName@serverName;Persist Security Info=true"


    • ?Ingres
        • ?ODBC

          • DSN-less
            "Provider=MSDASQL.1;DRIVER=Ingres;SRVR=xxxxx;DB=xxxxx;Persist Security Info=False;uid=xxxx;pwd=xxxxx;SELECTLOOPS=N;Extended Properties="""SERVER=xxxxx;DATABASE=xxxxx;SERVERTYPE=INGRES""


    • ?Mimer SQL
        • ?ODBC

          • ?Standard Security:
            "Driver={MIMER};Database=mydb;Uid=myuser;Pwd=mypw;"


          • ?Prompt for username and password:
            "Driver={MIMER};Database=mydb;"


    • ?PostgreSQL
        • ?Core Labs PostgreSQLDirect (.NET)

          • ?Standard:
            "User ID=root; Password=pwd; Host=localhost; Port=5432; Database=testdb;Pooling=true; Min Pool Size=0; Max Pool Size=100; Connection Lifetime=0"
            Read more at Core Lab and the product page.


    • ?DSN
        • ?ODBC

          • ?DSN:
            "DSN=myDsn;Uid=username;Pwd=;"


          • ?File DSN:
            "FILEDSN=c:/myData.dsn;Uid=username;Pwd=;"


    • ?Excel
        • ?ODBC

          • ?Standard:
            "Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=C:/MyExcel.xls;DefaultDir=c:/mypath;"


        • ?OLE DB

          • ?Standard:
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/MyExcel.xls;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"""
            "HDR=Yes;" indicates that the first row contains columnnames, not data
            "IMEX=1;" tells the driver to always read "intermixed" data columns as text
            TIP! SQL syntax: "SELECT * FROM [sheet1$]" - i.e. worksheet name followed by a "$" and wrapped in "[" "]" brackets.
    • ?Text
        • ?ODBC

          • ?Standard:
            "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:/txtFilesFolder/;Extensions=asc,csv,tab,txt;"


        • ?OLE DB

          • ?Standard:
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:/txtFilesFolder/;Extended Properties=""text;HDR=Yes;FMT=Delimited"""
            "HDR=Yes;" indicates that the first row contains columnnames, not data
    • ?DBF / FoxPro
        • ?ODBC

          • ?standard:
            "Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=c:/mydbpath;"


        • ?OLE DB, OleDbConnection (.NET)

          • ?standard:
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:/folder;Extended Properties=dBASE IV;User ID=Admin;Password="


    • ?AS/400
        • ?OLE DB

          • ?IBM Client Access OLE DB provider:
            "PROVIDER=IBMDA400; DATA SOURCE=MY_SYSTEM_NAME;Uid=myUserName;Pwd=myPwd"
            Where MY_SYSTEM_NAME is the name given to the system connection in OperationsNavigator
        • ?ODBC

          • ?IBM Client Access ODBC driver:
            "Driver={Client Access ODBC Driver (32-bit)};System=my_system_name;Uid=myUserName;Pwd=myPwd"
    • ?Visual FoxPro
        • ?OLE DB, OleDbConnection (.NET)

          • ?Database container (.DBC):
            "Provider=vfpoledb.1;Data Source=C:/MyDbFolder/MyDbContainer.dbc;Collating Sequence=machine"


          • ?Free table directory:
            "Provider=vfpoledb.1;Data Source=C:/MyDataDirectory/;Collating Sequence=general"


          • ?Force the provider to use an ODBC DSN:
            ""Provider=vfpoledb.1;DSN=MyDSN""
            Read more (Microsoft msdn) >>
        • ?ODBC

          • ?Database container (.DBC):
            "Driver={Microsoft Visual FoxPro Driver};SourceType=DBC;SourceDB=c:/myvfpdb.dbc;Exclusive=No;NULL=NO;Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO"


          • ?Free Table directory:
            "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=c:/myvfpdbfolder;Exclusive=No;Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO"
            "Collate=Machine" is the default setting, for other settings check the list of supported collating sequences >>

          Microsoft Visual Foxpro site: http://msdn.microsoft.com/vfoxpro

    • ?Pervasive
    • ?UDL
        • ?UDL

          • ?UDL:
            "File Name=c:/myDataLink.udl;"
    STM32CubeMX安装避坑指南:为什么你的Java环境总是报错? 本文针对STM32CubeMX安装过程中最常见的Java环境报错问题,提供了一套完整的诊断与解决方案。文章深入剖析了JRE版本冲突、环境变量配置错误、路径权限等核心原因,并给出了从系统级检查到手动修正环境变量的详细步骤,帮助开发者彻底解决安装难题,顺利开启STM32开发之旅。 阅读详情

    相关推荐

    MMI分束器仿真优化:用Lumerical FDTD实现95%耦合效率的实战技巧

    本文详细介绍了使用Lumerical FDTD软件对MMI分束器进行仿真优化的实战技巧。通过构建高保真模型、精确配置光源与边界条件,并重点优化波导结构与taper设计,系统性地将器件的耦合效率提升至95%以上。文章还分享了利用参数扫描、varFDTD加速等高级方法,帮助硅光芯片设计工程师高效实现高性能MMI分束器设计。

    rainy的博客 769

    MySQL数据库之MySQL的binary类型操作

    MySQL数据库之MySQL的binary类型操作 JDBCUtils 本文主要向大家介绍了MySQL数据库之MySQL的binary类型操作 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助。 示例数据表: CREATE TABLE test_bin ( bin_id BINARY(16) NOT NULL ) Engine=InnoDB; 插入数据...

    xiangwang2016的博客 2万+

    Ubuntu20.04下运行LOAM系列:A-LOAM、LeGO-LOAM、SC-LeGO-LOAM、LIO-SAM 和 LVI-SAM

    在我第一篇博文Ubuntu 20.04配置ORB-SLAM2和ORB-SLAM3运行环境+ROS实时运行ORB-SLAM2+Gazebo仿真运行ORB-SLAM2+各种相关库的安装的基础环境下跑通A-LOAM首先已经按照上一篇文章已经安装好了ROS noetic、Eigen3.4.0、OpenCV4.2.0和PCL1.10,A-LOAM在Github的开源地址:https://github.com/HKUST-Aerial-Robotics/A-LOAM。接下来根据代码要求,需要安装Ceres,另外环境的变

    zardforever123的博客 3万+

    DataBase 数据库连接字符串

     ADO.NET 连接数据库字符串(Oracle、SqlServer、Access、ODBC) ADO.NET连接到 SQL Server SQL Server .NET Framework 数据提供程序支持类似于 OLE DB (ADO) 连接字符串格式的连接字符串格式。using (SqlConnection connection = new SqlConnection(conne

    foodvc的专栏 832

    从CAD图纸到GIS地图:手把手教你用Global Mapper处理DWG文件(含坐标配准)

    本文详细介绍了如何使用Global Mapper将CAD图纸(DWG文件)转换为GIS地图,包括坐标配准、图层与属性转换等关键步骤。通过四参数变换和控制点匹配技术,确保数据精准转换,适用于测绘、城市规划等领域。文章还提供了高级处理技巧和质量控制流程,帮助用户高效完成GIS化工作。

    weixin_29196891的博客 520

    从零开始:如何用Python手绘波特图并分析电路稳定性

    本文详细介绍了如何使用Python绘制波特图并分析电路稳定性,涵盖从基础理论到实际应用的完整流程。通过NumPy和Matplotlib实现频域分析,包括RC低通滤波器和RLC带通滤波器的案例,以及相位裕度计算等高级技巧,为电子工程师提供了一套高效的电路分析解决方案。

    hhh00的博客 369

    mysql dsn连接字符串_数据库连接字符串

    一、SQL ServerODBC标准连接Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;受信的连接Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Trusted_Connection=...

    weixin_31616935的博客 1022

    ECU-TEST 快速入门

    ECU-TEST 是由位于德国德累斯顿的TraceTronic公司开发的一款用于嵌入式系统测试验证软件工具。自从2003年首次发布ECU-TEST ,该软件成为了汽车ECU开发的标准工具 ,同时也逐步成为了重型机械和工业自动化开发的标准工具 。该软件是起源自于一个控制单元的系统化测试的项目研究,从而为从德累斯顿工业大学脱离出来的TraceTronic公司奠定了基础。ECU-TEST旨在完成测试案例的规范化、评估、求解和归档。得益于该软件包含大量的自动化测试方法使得测试案例的所有必要功能如创建、求解和评估

    wangying202的博客 1万+

    数据库的连接字符串大全

    一、.NET Framework Data Provider for SQL Server 类型:.NET Framework类库使用:System.Data.SqlClient.SqlConnection厂商:Microsoft 1.标准安全连接 Data Source = myServerAddress;Initial Catalog = myDataBase;User I...

    anjujiao1678的博客 1274

    .NET MAUI跨平台串口通讯方案

    MAUI跨平台串口通信架构设计采用分层模式,核心是共享业务逻辑层与平台特定实现。通过定义统一的ISerialPortService接口,实现了Windows、Android、iOS和macOS四大平台的串口通信功能。Windows平台使用System.IO.Ports类库,Android通过USB Host模式实现,iOS基于ExternalAccessory框架,macOS则采用IOKit。该设计支持串口连接管理、数据收发等核心功能,并通过事件机制实现异步通信。架构采用条件编译区分各平台实现,确保代码复用

    冰茶的博客 1663

    mapbox 从入门到精通 - 目录

    欢迎大家来到gis分享者的《mapbox 从入门到精通》专栏。博主列出学习大纲,如果有什么问题,欢迎留言。

    我哎GIS博客 5833

    各种方式访问数据库连接字符串

    一、使用数据源访问数据库: 若是系统数据源或用户数据源: sqlText="DSN=数据源名;uid=用户名;pwd=密码;" 若是文件数据源: sqlText="FILEDSN=数据源文件名;uid=用户名;pwd=密码" 说明:   uid和pwd为可选项,分别用于设置访问数据库的用户名和密码,SQL Server和Oracle等数据库,在访问时需要

    2332

    YOLO26核心模块解析:SimSPPF轻量化空间金字塔池化的原理与优势详解

    SimConv作为现代深度学习的基础构建块,其设计虽然简洁,但包含了多项关键技术的有机组合。通过将卷积、批量归一化和激活函数整合为统一模块,SimConv不仅提供了稳定的训练特性和良好的表达能力,还为后续更复杂网络架构的发展奠定了基础。SimConv的成功在于其体现了深度学习设计的核心理念:简洁性与有效性的平衡。它证明了通过合理的技术组合,可以在不显著增加复杂度的前提下大幅提升模型性能。随着深度学习技术的持续发展,SimConv及其变种将继续作为重要的基础组件,推动计算机视觉和人工智能技术的进步。

    know_F0727的博客 2618

    asp.net mysql连接字符串_ASP.Net数据库连接字符串

    name="SQLCONNECTIONSTRING" connectionString="data Source=stupidgirl\DD;   database=ChildrenERecord;   user id=child;...

    weixin_34771903的博客 236

    怀旧版电脑GBC模拟器

    再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

    lwip-2.0.3

    lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

    各数据库的连接字符串

    各数据库的连接字符串SQL Serverworkstation id=192.168.1.110;user id=sa;data source=192.168.1.110;initial catalog=dddOracleuser id=NETOA;Password=NETOA;data source=guy;persist security info=FalseOLE DB

    Cave-House 2030

    ET2012新版免狗免安装绿色软件

    ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

    数据库连接字符串大全

    数据库连接字符串大全 很感谢creativepeter(头皮屑)提供的本连接地址(http://www.connectionstrings.com/)     SQL Server  ODBC  Standard Security:"Driver={SQL Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;"

    gauss32的专栏 2402

    IDEA的使用指南

    IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

    使用OLE DB连接各种类型的数据库的连接字符串

    SQL Server 使用 OLE DB 所设置的连接字符串:标准连接方式Provider=sqloledb;Data Source=datasource;Initial Catalog=DbName;User Id=username;Password=pwd;信任连接方式:Provider=sqloledb;Data Source=datasource;Initial Catal

    招财猫_Martin 的专栏 4835

    连接mysql数据库字符串_MySQL数据库中怎么将字符串连接操作

    MySQL数据库中怎么将字符串连接操作发布时间:2020-11-30 09:54:14来源:亿速云阅读:68作者:小新小编给大家分享一下MySQL数据库中怎么将字符串连接操作,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!不管你是做数据分析,还是网络爬虫、Web 开发、亦或是机器学习,你都离不开要和数据库打交道。数据库基本...

    weixin_30769779的博客 1526

    Azure SQL Database连接字符串

    【代码】Azure SQL Database连接字符串。

    sq8706的专栏 440

    数据库连接字符串整理

    MSDN中文版中,阿很多不该翻译的翻译了,或者翻译的有问题。我在参阅英文版MSDN和中文版MSDN基础上,跟据自己的经验,把数据库连接字符串整理了一下,具体如下:英文版可以看以下地址:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataSqlClientSq

    gauss32的专栏 1982

    jet mysql连接字符串,关于jet db的连接字串,以及加密后的字串-数据库专栏,SQL Server...

    关于jetdb的连接字串,以及加密后的字串问题:关于jetdb的连接字串,以及加密后的字串ado连接mdb文件的字串如何写?加密以后如何写?回答:access数据库加密分3种以下以accessxp为例1、工具->安全->加密/解密数据库,打开时无需任何更改2、工具->安全->设置数据库密码,打开密码为1打开时需要使用“provider=microsof...

    weixin_39639518的博客 181

    JDBC数据库URL连接字符串大全

    DB连接信息: 数据库 JDBC Driver JDBC Url Hibernate Dialect MySQL com.mysql.jdbc.Driver jdbc:mysql://localhost/high_performance_java_persistence org.hibernate.dialect.MySQL57Dialect Oracle oracle.jdb...

    天下任我行 2483

    .net的数据库连接字符串

    在MSDN中,.net的数据库连接字符串都有详细的说明,我这里以代码范例的方式罗列一些,具体的每一项代表的意义可以参看MSDN.ADO.net 中数据库连接方式(微软提供)微软提供了以下四种数据库连接方式:System.Data.OleDb.OleDbConnectionSystem.Data.SqlClient.SqlConnectionSystem.Data.Odbc.OdbcConn

    2304

    c mysql 数据库连接字符串_(转载)数据库连接字符串大全(解释版)

    数据库连接字符串的拼写规则的决定条件:连接的数据库的类型:SQL Server,Oracle,MySQL,Acess,MogoDB,Visual FoxPro(dBASE),Excel数据库驱动器:ODBC,OLE DB连接的模式:标准连接(Standard Security),信任连接(Trusted connection)网络协议:TCP/IP,Named Pipes名称 网络协议库dbnmp...

    weixin_36325615的博客 718

    ASP.NET数据库连接字符串总结

    ASP.NET数据库连接字符串总结 一、使用OleDbConnection对象连接OLE DB数据源 1.连接Access 数据库          Access 2000: “provider=Microsoft.Jet.Oledb.3.5;Data Source=Access文件路径”          Access 2003: “provider=Microsoft.J

    一个情绪猿的脖克... 1万+

    使用OLE DB方式连接常用数据库的连接字符串的设置

    SQL Server 使用 OLE DB 所设置的连接字符串: 标准连接方式 Provider=sqloledb;Data Source=datasource;Initial Catalog=DbName;User Id=username;Password=pwd; 信任连接方式: Provider=sqloledb;Data Source=datasource;Initial Catal

    lxl_sports的专栏 2160
    上一篇: 在Blog页面上玩了些花活儿
    下一篇: 2004年Delphi Informant杂志读者选择奖
    binaryge
    博客等级 码龄23年 2粉丝 30原创
    评论
    成就一亿技术人!
    拼手气红包6.0元
    还能输入1000个字符
     
     条评论被折叠 查看
    添加红包

    请填写红包祝福语或标题

    个

    红包个数最小为10个

    元

    红包金额最低5元

    当前余额3.43元 前往充值 >
    需支付:10.00元
    成就一亿技术人!
    领取后你会自动成为博主和红包主的粉丝 规则
    hope_wisdom
    发出的红包
    实付元
    使用余额支付
    点击重新获取
    扫码支付
    钱包余额 0

    抵扣说明:

    1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
    2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

    余额充值