我的脚本执行不正常,所以我查看了由批处理脚本创建的日志文件。itgencun017:安装新的Invantive Data Hub后,我的批处理脚本不再工作
它显示了以下错误:
2017-09-05 07:34:24.324 Error itgencun016: Waarschuwing itgenuty427: Een verbinding met de database 'Oracle MySQL\***' kon niet worden opgebouwd als gebruiker '***'.
Verbinding 'Oracle MySQL\***' kan niet worden gevonden.
2017-09-05 07:34:24.324 Error itgencun016: Warning itgenuty427: A connection with the database'Oracle MySQL\***' could not be established as user '***'.
Connection 'Oracle MySQL\***' could not be found.
这是我的脚本:
local remark local log on connection "Exact Online (REST interface)\Exact Online REST (nl)" user "***" password "***" silent
use ***, ***, ***
local define boekjaar "2016"
select Division bedrijf
, FinancialPeriod periode
, Date datum
, GLAccountCode grootboek
, Description omschrijving
, trim(AccountCode) crednummer
, AmountDC bedrag
from TransactionLines
where FinancialYear = ${boekjaar}
and GLAccountCode between '***' AND '***'
order
by bedrijf
, datum
local remark export results as "c:\temp\***.csv" format csv
local remark exit 0
local remark Uncomment this part when you have connectivity directly to MySQL.
local memorize results clipboard grootboek
local log on connection "Oracle MySQL\***" user "***" password "***" silent
local remark truncate table ***
local insert results clipboard grootboek in table ***
这使用前工作。我将如何去解决这个问题?
请注意,在'本地登录'中使用未加密的密码将被折旧。在上一个版本中,它不再可用。改用加密密码。使用“本地加密密码”生成它们以用于特定设备。 –