There was a problem loading the comments.

Accessing Databases with ODBC (Windows)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
If your application needs to access external databases through ODBC, you can create the necessary ODBC connection in Plesk. After you have created the ODBC connection, you can customize the application to use that ODBC connection to access information in the database. The database does not necessarily need to be external; ODBC can be used to access local databases as well.

To create a new ODBC connection to a database:
1. Log in to Plesk panel.
2. Go to Websites & Domains and click ODBC Data Sources.
3. Click Add ODBC DSN.
4. Specify the ODBC connection name and description in the corresponding fields.
5. Select the required driver in the Driver field.
6. Click OK.
7. Choose the appropriate options on the driver configuration screen. Typically, you should specify the path to the database, user credentials and other connection options, depending on the selected driver.
8. Click Test to check whether the connection will function properly with provided settings. Click Finish to complete the creation.




To change settings of an existing ODBC connection:
1. Log in to Plesk panel.
2. Go to Websites & Domains and click ODBC Data Sources.
3. Click the required connection name in the list.
4. Change the settings as needed.
5. Click Test to check whether the connection will function properly with new settings. Click Finish to save changes.




To remove an ODBC connection:
1. Log in to Plesk panel.
2. Go to Websites & Domains and click ODBC Data Sources.
3. Select the checkbox next to the connection you want to remove.
4. Click Remove, confirm the removal and click OK.

Share via
Did you find this article useful?  

Related Articles

© Netcetera