Developing database Interconnect ODBC configuration

Source: Internet
Author: User
Tags dsn access database domain server

Open Database Interconnect (ODBC) is a kind of early database interface technology introduced by Microsoft, which can access database data through ODBC driver, and can complete the link operation to database by using ODBC Administrator.

System DNS: This data source is configured, and all users of the current server can use this data source to link the database. As shown in the following:

1. Add driver: SQL Server connection

2. ODBC name and connection server name

3. Connection authentication method: Windows connection

Connect to the database using your current Windows account and password. Therefore, there are two situations in the following ways:

A, the target server and the originating server are in the same domain, if the Windows current user is logged on with a domain administrator account, you can verify the pass.

B, if the target server and the originating server is not a domain server, requires the same account between the two servers, and the same password, and set the Security Trust link in the database. Before you can verify the pass.

4. Select Database

5. Click Finish

6. Set up links in bulk by script.

@echo off

echo is deploying ODBC ...

odbcconf configsysdsn "SQL Server" dsn= fill in the DSN name | server= fill in the database IP or alias that needs to be connected | database= fill in the database you need to access | Trusted_connection=yes "

Developing database Interconnect ODBC configuration

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.