I get data from a MySQL database using a SQL query. I’ve notice in Power BI whenever the query is run in MySQL, the query gets opened in SQL but it does not close the query again. Should I run the same query in MyuSQL the query opens and after it has run, it closes the query.
Power BI runs the same query multiple times and opens a connection to the server every time. If I run a query in SQL it opens a connection, runs the query and closes the connection on the server. Power BI opens the connection and runs the query. The connection is not closed afterwards.