Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17884

PowerBI Rest - Sample Request to create MySQL dataset

$
0
0

Hi All,

 

May I know anyone have the sample request on create mysql dataset from PowerBI Rest?

 

I try the following request body:

{
    "name": "sample-data",
    "defaultMode": "AsOnPrem",
    "datasources": [
        "connectionString": "server=myserver-ip;port=3306;uid=root;password=password;database=my_db"
    }
}

However I keep on hitting:

{
    "error": {
        "code": "FailedToParseConnectionStringError",
        "pbi.error": {
            "code": "FailedToParseConnectionStringError",
            "parameters": {},
            "details: []
        }
    }
]

 


Viewing all articles
Browse latest Browse all 17884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>