Forum Discussion

jaidee's avatar
jaidee
Icon for Helper II rankHelper II
10 years ago
Solved

Update online: Change connection string to MYSQL DB with SELECT problem for table PROC

I have figured out why I cannot update from online.

 

I get an error: MySQL: SELECT command denied to user 'XXX' for tablr 'proc'

 

I can read several places that it is a comon problem on MySQL. A lot of plases, like below link, says to ad this to my connection string:

Use Procedure Bodies=false;

 

http://knowledge.3essentials.com/web-hosting/article/990/ERROR-SELECT-command-denied-to-user-user-x-for-table-proc.html

 

But I cant get it to work. I go to Edit Queries - Advanced Editor. Then there is a quere, that loads my table, and I dont know where to insert the Use Procedure Bodies:

 

let
Source = MySQL.Database("MYHOST, "MYDB", [ReturnSingleDatabase=false]),
TABLE = Source{[Schema="XXX",Item="XXX"]}[Data]
in
XXX

  • jaidee

    There seems no way to apply the first option in your link in powerbi, so far I don't find anywhere to change the connection string.
    Try the second option, granting sufficient permission.

2 Replies

  • Eric_Zhang's avatar
    Eric_Zhang
    Icon for Microsoft Employee rankMicrosoft Employee

    jaidee

    There seems no way to apply the first option in your link in powerbi, so far I don't find anywhere to change the connection string.
    Try the second option, granting sufficient permission.

    • jaidee's avatar
      jaidee
      Icon for Helper II rankHelper II

      I got acces to the PROC table last week and now I can refresh.