Discover oracle odbc connection string, include the articles, news, trends, analysis and practical advice about oracle odbc connection string on alibabacloud.com
Tags: data source ora test installation path admin strong exit Network connectionHow to configure Oracle data source today:1, the need to install Oracle client, if the error check, the anti-virus software all exit and then reinstall;2, after the installation is completed, run ODBCAD32 (64-bit), in the ODBC interface can find the corresponding driver;3, the client
Author: Yi Wenjun
Email: yiwenjun@126.com
First, you must enable the Oracle listener and service.
Open the ODBC data source configuration interface, select system DSN, add, and select Oracle driverProgram
The key is the following parameter settings.
Data Source Name: name of the Data Source
Description: You can describe it on your own.
TNS server name: t
replaced by this format.
4. Add the TNS_ADMIN environment variable to point to the created tnsnames. ora configuration file.
So far, the configuration has been completed. You can use tools such as pl/SQL developer to connect to a remote oracle database. The database is the name of the added tns Service (WSR here)
If you want to use odbc to connect to the database, you also need to add
and default data source are not specified. Then, I tried it for a long time, change project properties-generate-target platform from any CPU to x86.
Attached tnsname. ora:
Jiarui2 =
(Description =
(Address_list =
(Address = (Protocol = TCP) (host = 10.10.30.12) (Port = 1521 ))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
The driver used to create the data source is Oracle in orahome90, And the TNS service name is setJiarui2, set the account and passwo
From: http://blog.csdn.net/wenyuan_w/archive/2007/09/02/1769432.aspxWith the release of. net. The database reading technology also evolved from ADO to ADO. net. As you know, ADO. NET provides more convenient database read/write capabilities and excellent performance than ADO.Connection Pool is an important function of ADO. Net to improve performance. However, there are few documents concerning the connection pool mechanism. Therefore, troubleshooting
ado| Connection Database | String ADO Connection Database string Encyclopedia
This page contains sample ADO connection strings for ODBC dsn/dsn-less,
OLE DB Providers, remote Data Services (RDS), Ms Remote, Ms Datashape.
Also in
How to correctly get the ADO connection string for MySQL, excerpt from the Web http://blog.csdn.net/zyq5945/article/details/5486393First, you correctly installed the MySQL database driver (mysql-connector-odbc-5.1.6-win32.msi)1. Create a new empty text file on the desktop mysql.txt, rename it to Mysql.udl;2. Double-click the Mysql.udl file to open the Database
Label:Project is urgent, need to deliver results in a short time, new team members, the database design is too low, it is difficult to understand the relationship between the database table structure, in order to enable new colleagues to better understand the database table structure, deliberately using PowerDesigner to Oracle, MySQL database reverse generation of physical diagrams, Concept map, hope to bring new colleagues to help, better improve the
better performance.
B) It will achieve relatively good efficiency when two large rowsources are connected, and it will achieve better efficiency when one row source is smaller.
C) It can only be used for equivalent connections.
D) no requirement on indexes (an index may also be used, but it does not limit the access of SQL statements)
Connection method between oracle and Java
1. Data source
If you use a 11g client and then connect to the 10g Oracle via ODBC (remote connection), the listener fails to start (ora-12541:tns: No listener)At this point, you need to D:\instantclient_11_2 the Tnsnames.ora file in the client directory. In this file, the appropriate content:Test =(DESCRIPTION =(Address_list =(ADDRESS = (PROTOCOL = TCP) (HOST = 120.120.9.4) (P
can use servername/InstanceName as the data source to specify an SQL server instance.
Connect to an SQL server instance
The expression of the specified server instance is the same as the connection string of other SQL servers.
Provider = sqloledb; Data Source = myservername/theinstancename; initial catalog = mydatabase; Integrat
In J2EE application development, establishing a connection between an application and a database is a common problem. Here I will talk about connecting to the Oracle database through OCI, thin, and JdbcOdbc in local applications, configure the Oracle database connection pool in iPlanet Application Server 6.5 and Sun Ja
database connectionCon = DriverManager. getConnection ("jdbc: odbc: IProducts ","","");
// No password is set, so leave the user name and password Blank
String SQL = "select * from devil_lang_map ";Stat = con. createStatement ();Rs = stat.exe cuteQuery (SQL );Int I = 97;While (rs. next ()){String value = rs. getString ("human ");TreeMap. put (char) I ++) + "",
, the. NET Framework cannot be used to protect its security. Connect to Excel
The Microsoft Jet provider is used to connect to an Excel workbook. In the following connection string, the Extended properties keyword sets Excel-specific attributes. "Hdr=yes;" Indicates that the first row contains column names, not data, "imex=1;" Notifies the driver that the "mixed" data column is always read as text. Attentio
database name for remote connection in Net Manager, then create a new one.2. The other steps are the same as 2---5 in the second case.Fourth case:This machine does not have an Oracle server installed, nor does it have the tools to manage databases such as PL SQL development, Toad SQL development, SQL Navigator, but Oracle clients are installed. An
. they are object-oriented database interfaces and are based on classes that can be implemented on ODBC. But in these interfaces, we do not see special features that allow us to choose them instead of ODBC, especially if the ODBC driver has established a better market. They add an ornament to ODBC at best.Database link
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.