putenv("LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib");
putenv("ORACLE_HOME=/usr/lib/oracle/12.1/client64");
putenv("NLS_LANG=AMERICAN_AMERICA.AL32UTF8");
亲测成功,再也不担心脚本插库乱码了
时间: 2024-11-05 18:35:49
putenv("LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib");
putenv("ORACLE_HOME=/usr/lib/oracle/12.1/client64");
putenv("NLS_LANG=AMERICAN_AMERICA.AL32UTF8");
亲测成功,再也不担心脚本插库乱码了