Hi,
I am not sure I understand what you are trying to do, I haven't worked with loading from db, but I had the same issue with connecting to oracle when trying to store to XBRL DB, what worked for me was changing few lines of code in the XBRL DB plugin, in file Arelle/plugin/xbrlDB/SqlDb.py -- lines 168:170, seems that the code for oracle connection string does not capture the database name, so I made the following changes:
The existing code is :
self.conn = oracleConnect('{}/{}@{}{}'
.format(user, password, host,
":{}".format(port) if port else ""))
Change to:
self.conn = oracleConnect('{}/{}@{}{}/{}'
.format(user, password, host,
":{}".format(port) if port else "", database))
Also make sure that you can connet to the db from your computer using other applications.