Main Page

From Hostek.com Wiki
Revision as of 03:39, 25 August 2017 by Kalana (Talk | contribs)

Jump to: navigation, search

This wiki article will show how to Manage the DSN's for your domains using WCP.

What is a Data Source Name (DSN)?

DSN - The Data Source Name is a data structure that contains information about a specific database that an ODBC, JDBC and OLE driver can use in order to connect to it.

This is an alternative option for those that don't want to specify the Database connection information to pass through their code.

Navigating to DSN settings

  1. First login to your WCP control panel for the account the domain is under: https://wcp.hostek.com
    Wcp url secure.png

    If you have any issues with logging into WCP then please see our tutorials on recovering your password if necessary


  2. Once logged into WCP if you have multiple domains you may need to select the appropriate domain to manage using the 'Hosted Domains' drop-down in the top-right of the page as shown in the screenshot below:
    Wcp change domain.png

  3. Now click on the icon labeled 'DSN' under the Databases section

  4. DSN button.png

  5. You should now see a list of available DSN Connetions currently configured your the specified domain.

  6. DSN List.png

Creating a DSN

In the above section, we covered how to log in and view your current DSN's. We will now proceed with creating a new DSN.

  1. On the DSN panel click on the click on the 'Add' option as shown in the screenshot below:

  2. DSNoutline.png

  3. Now click the Database type you wish to connect to per screenshot below:

  4. Databasetypes.png

  5. Next click on 'ADD', then proceed to fill out the required information '(Database Usernames and Passwords must match the existing user)' as shown in the screenshot below:

  6. Databaseinformation.png

  7. Now you should see a message stating the DSN was successful and the connection was successful.

  8. DSNcreated.png

Editing a DSN

In the above section, we covered how to create a DSN using WCP. Now we will review how to update your DSN information.

  1. In WCP click on the 'DSN' option as shown in the below screenshot:

  2. DSN button.png

  3. Now click on the Pencil Icon located to the left of the DSN you wish to update as shown in the screenshot below:

  4. DSNedit.png

  5. Update the connection to the new information required for the DSN to connect properly

  6. Databaseinformation.png

  7. Now that you have made the nessary chages to the DSN click on 'Save' and verify that the Green 'Data Source Updated' bar is dispalyed.

  8. DSNupdated.png


    DSN Common issues


    If you receive a red connection error when setting the DSN information ensure that the proper user credentials are being set. If the issue persists after verify your information please contact us at support@hostek.com.

    Additionally, if you are setting up an ACCESS database through WCP and a Red error is displayed with failing to connect to the database. Please ensure that an .LDB file does not exist in your file structure.