Create Data Source when using DataBase

  1. Open the control panel.

  1. Open "Administrator Tools"

?

3. Open "Data Source(ODBC)" and Select "Add"

?

4. Select "MySQL ODBC 5.3 Unicode Driver" or "MySQL ODBC ANDI Driver" and then "Finish"

?

5. Define the "Data Source Name" by yourself, and add the localhost IP: 127.0.0.1

Database user and password, finally finish the Database you want to connect.

?

6. click "Test" button, if succeed, it will work.

时间: 2024-10-24 21:53:35

Create Data Source when using DataBase的相关文章

pb-could not connect to data source

PB的数据库画板连接SYBASE数据库,设置好server_name,logid,logpass等参数后,点connect却提示 could not connect to data source,如果在database一栏填好库名,能连接,却打不开表 这是因为SYBASE数据库没有更新PBSYC.SQL过程 找到并执行“pbsyc.sql”  “pbsyc2.sql”即可

Configuring the WebSphere Application Server data source

Configuring the WebSphere Application Server data source Version WebSphere Application Server 7.0.0.x   WebSphere Application Server 8.0.0.x Installed applications use data sources as resources to obtain connection to relational databases. To create

[转] --- Error: “A field or property with the name was not found on the selected data source” get only on server

Error: “A field or property with the name was not found on the selected data source” get only on server up vote4down votefavorite2I publish my project without any warning on local iis and it works correctly (localhost/[myprojectName]). so, i upload t

Large, Interconnected Data Belongs to a Database

Large, Interconnected Data Belongs to a Database Diomidis Spinellis iF YOUR APPLiCATiON is going to handle a large, persistent, interconnected set of data elements, don't hesitate to store it in a relational database. In the past, RDBMSs used to be e

前段时间,接手一个项目使用的是原始的jdbc作为数据库的访问,发布到服务器上在运行了一段时间之后总是会出现无法访问的情况,登录到服务器,查看tomcat日志发现总是报如下的错误。    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected est

前段时间,接手一个项目使用的是原始的jdbc作为数据库的访问,发布到服务器上在运行了一段时间之后总是会出现无法访问的情况,登录到服务器,查看tomcat日志发现总是报如下的错误. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too man

解析数据库连接字符串 (将Data Source、Initial Catalog、User ID、Password取出)

private void AnalysisConnectionstring() { string tempStr = “Data Source=192.168.2.123;Initial Catalog=caxastat;Persist Security Info=True;User ID=sa;Password=sa;Pooling=true; Max Pool Size=40000;Connect Timeout=30”; string[] paras = tempStr.Split(';'

C#语言实现ArcGIS数据源重置之Set Data Source功能

1.须要:依据选择的Mxd路径和目标数据源路径进行重置数据源.此处以(.Mdb为例): 主要利用到的接口: (1)IMapDocument    (2)IMapControl2     (3)IWorkspaceFactory        (4)IWorkspace   (5)IEnumDataset (6)IDataset               (7)ISpatialReference   (8)UID        (9)IEnumLayer           (10)IFeatu

以Excel 作为Data Source,将data导入db

将Excel作为数据源,将数据导入db,是SSIS的一个简单的应用,下图是示例Excel,数据列是code和name 第一部分,Excel中的数据类型是数值类型 1,使用SSDT创建一个package,创建Excel data source component,SSDT会在Connection Managers中创建一个Excel的connection 由于示例Excel的首行是列名,所以需要勾选"First row has column names",Excel connection

C# 连接SQL Server数据库的几种方式--server+data source等方式

本文转载自忙碌的布谷鸟  如何使用Connection对象连接数据库? 对于不同的.NET数据提供者,ADO.NET采用不同的Connection对象连接数据库.这些Connection对象为我们屏蔽了具体的实现细节,并提供了一种统一的实现方法. Connection类有四种:SqlConnection,OleDbConnection,OdbcConnection和OracleConnection. SqlConnection类的对象连接SQL Server数据库:OracleConnectio