Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

GetDatabase and GetDatabaseTables from QLik sense engine api not working for sql server connection

In my Qlik sense desktop application, I've connected to a sql server (have tried both adding the database field and leaving it blank). The app is able to get tables and load data.

Now I'm trying to get the names of databases and their tables from the connection using the Engine API, but an empty list is returned (using getdatabases method)

{

"handle": 1,

"method": "GetConnection",

"params": {

"qConnectionId": "7c7f33e0-b007-4b00-914c-65b0a064668c"

},

"outKey": -1,

"id": 4

}

Reply:

{

"jsonrpc": "2.0",

"id": 4,

"delta": true,

"result": {

"qConnection": {

"qId": "7c7f33e0-b007-4b00-914c-65b0a064668c",

"qName": "mynameis",

"qConnectionString": "CUSTOM CONNECT TO \"provider=QvOdbcConnectorPackage.exe;driver=mysql;host=sql12.freesqldatabase.com;port=3306;db=sql12243045;SSLMode=DISABLED;UseTrustStore=false;QueryTimeout=30;\"",

"qType": "QvOdbcConnectorPackage.exe",

"qModifiedDate": "6/15/2018 2:27:50 AM",

"qMeta": {},

"qLogOn": "LOG_ON_SERVICE_USER"

}

Get Databases:

{

"handle": 1,

"method": "GetDatabases",

"params": {

"qConnectionId": "7c7f33e0-b007-4b00-914c-65b0a064668c"

},

"outKey": -1,

"id": 5

}

{

"handle": 1,

"method": "GetDatabases",

"params": {

"qConnectionId": "7c7f33e0-b007-4b00-914c-65b0a064668c"

},

"outKey": -1,

"id": 5

}

Reply:

{

"jsonrpc": "2.0",

"id": 5,

"delta": true,

"result": {

"qDatabases": []

}

}

I know there are databases in the server;

3 Replies
marksouzacosta
Partner - Creator II
Partner - Creator II

I'm having the same problem for any kind of CUSTOM connector (provider=QvOdbcConnectorPackage.exe).
Do you have any news on that ?

Read more at Data Voyagers - datavoyagers.net
SriHarsha
Contributor
Contributor

I'm facing the same issue. Any solution for it ?

rdsharma
Contributor
Contributor

I am also facing this problem, please let me know if any solution found