Forum Discussion

niconicotsuka's avatar
niconicotsuka
Regular Visitor
1 year ago
Solved

MySQL: Retrieval of the RSA public key is not enabled for insecure connections.

I am unable to connect a MySQL 8 database server. When I enter the server IP and database name and click the "OK" button, the following error message appears and I cannot proceed.   MySQL: Retrieva...
  • v-sgandrathi's avatar
    v-sgandrathi
    1 year ago

    Hi niconicotsuka,

     

    Thank you for your follow-up. In Power BI Desktop, the built-in MySQL connector does not allow directly appending connection string parameters like allowPublicKeyRetrieval=True;useSSL=False in the Server field or Data Source Settings. Therefore, you cannot modify the connection string directly through the "Advanced options" or by editing the data source. The recommended approach is to use an ODBC connection, where you can fully configure the connection string with the required parameters. Alternatively, you can adjust these settings at the server or driver level.

     

    Please Accept as solution if this meets your needs and a Kudos would be appreciated.