oracle:dsnwithnopasswordasking
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | oracle:dsnwithnopasswordasking [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Configure an ODBC Data Source with no password request ====== | ||
| + | |||
| + | ===== Intro ===== | ||
| + | |||
| + | When working with access, or whatever application, | ||
| + | |||
| + | Moreover, if you try to make any sort of application (macro, visual basic, etc.), because this password is requested interactively, | ||
| + | |||
| + | I've discovered two ways to circunvent this issue. | ||
| + | |||
| + | ===== First: use the oracle driver and provide the user and password in the user field ===== | ||
| + | |||
| + | Ok, you have to go to ye old Data Source Administrator and begin to create a new Data Source by clicking the button " | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Select the Oracle driver (you can download it from the [[http:// | ||
| + | |||
| + | {{: | ||
| + | |||
| + | And, in the configuration of the data source, in the user ID field, provide ' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | And that's all: you will never have to provide a password when using this datasource. Easy, uh?? | ||
| + | |||
| + | ===== Second: edit the registry and provide the password in the appropiate field ===== | ||
| + | |||
| + | All the datasource information is saved in the following registry folder: | ||
| + | |||
| + | < | ||
| + | |||
| + | HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI | ||
| + | |||
| + | </ | ||
| + | |||
| + | But alas!!! there is a '' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
