MySQL Forums
Forum List  »  Connector/ODBC

Re: MySQL Connector/ODBC not using DSN password
Posted by: Bogdan Degtyariov
Date: September 15, 2021 03:18AM

The iODBC Driver Manager keeps the ODBC options inside a file, which by default is named odbc.ini (it can be other name) and it is usually located in /etc/ for system DSNs and ~/etc/ for user DSNs.
You can find the .ini file and modify the corresponding section [my_DSN_name] by adding:
USER = myuser
PASSWORD = mypassword

Please note that security of your password inside odbc.ini file is only protected by the file system permissions. Therefore, you need to make sure the file is only readable by your user.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL Connector/ODBC not using DSN password
September 15, 2021 03:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.