原文:
https://blog.csdn.net/weixin_34408624/article/details/91778698
一、下载驱动
https://www.oracle.com/database/technologies/instant-client/downloads.html
https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html
二、配置环境变量
1、新增这三个环境变量
ORACLE_HOME = D:Oracleinstantclient_19_8
TNS_ADMIN = D:Oracleinstantclient_19_8
NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK
2、在环境变量path后,追加$ORACLE_HOME$
3、下载的Oracle驱动文件,我是解压后放在这的