Home > Database > Mysql Tutorial > paip.odbc DSN的存储与读取

paip.odbc DSN的存储与读取

WBOY
Release: 2016-06-07 15:15:20
Original
1113 people have browsed it

paip.odbc DSN的 存储 与 读取 作者Attilax , EMAIL:1466519819@qq.com 来源:attilax的专栏 地址:http://blog.csdn.net/attilax 1.列出系统级ODBC列表 ---------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources] DevTestDB=

paip.odbc DSN的存储读取


作者Attilax ,  EMAIL:1466519819@qq.com 
来源:attilax的专栏
地址:http://blog.csdn.net/attilax


1.列出系统级ODBC列表
----------------------


[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"DevTestDB"="SQL Server"
"DevTrackDB"="SQL Server"
"DevWeb"="SQL Server"
"TxHelpDeskDB"="SQL Server"
"TxHelpDeskWeb"="SQL Server"
"CRMTestDSN"="SQL Server"




2.具体的一个DSN信息
----------------------\\




[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\CRMTestDSN]
"Server"="PC201303312357\\sql2"
"Database"="HDeskDB"
"Driver"="%WINDIR%\\system32\\SQLSRV32.dll"
"Description"="ODBC Data source for TechExcel ServiceWise"
"Trusted_Connection"="No"
"LastUser"="PTAdmin"






3.ODBC DSN密码问题
------------------
odbc数据源应该是不存储密码的,
密码应该是你的客户端程序存储的,所以找到客户端程序修改数据库用户密码的功能或地方 进行修改保存既可



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template