Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hola a todos,
Actualmente tengo un cuadro de mandos que obtiene la mayoría de los datos de una base de datos MySQL. Para realizar la conexión con Power BI Desktop he usado un conector ODBC junto con el driver de MySQL ya que la conexión con la base de datos requiere de unos certificados SSL para validar la conexión.
Con Power BI Destkop todo bien, el problema surje al publicar el cuadro de mandos. Ahora mismo estoy usando un gateway personal instalado en mi equipo y el CdM se actualiza perfectamente en la nube, pero quiero usar flujos de datos para hacer que las actualizaciones de datos sean incrementales.
Para ello me he instalado el gateway estándar, no el personal, lo he configurado con la cuenta correspondiente y demás.
El problema está al añadir los flujos de datos. Para ello selecciono ODBC como origen de datos pero solamente me da la opción de esto:
He usado esta configuración:
Siendo esta la cadena de conexión completa: Driver={MySQL ODBC 8.1 Unicode Driver};Server=Helpdesk.befesa.com;puerto=3306;Database={otrs};
Al darle a siguiente obtengo este error:
Se ha producido una excepción: ODBC: ERROR [HY000] [MySQL][ODBC 8.1(w) Driver]Access denied for user 'befesa_ro'@'185.14.62.59' (using password: YES) ERROR [HY000] [MySQL][ODBC 8.1(w) Driver]Access denied for user 'befesa_ro'@'185.14.62.59' (using password: YES). (Id. de sesión: 777ebd0a-39d2-4da7-b5e2-16554e2c8298, Región: europe)
Seguramente porque falte indicar en algun apartado los certificados SSL que si tengo agregados en el Power BI Desktop.
¿Alguna idea de como solventar esto?
Gracias.
I understand that you're having trouble trying to configure a data flow through a standard gateway. The error "Access denied for user" indicates an authentication issue.
Try the following steps:
Verify user credentials. Make sure that user 'befesa_ro' has the appropriate permissions in the MySQL database.
Configure SSL on the gateway. You need to make sure that the SSL certificate is installed and properly configured on the machine running the gateway.
The connection string you provided appears to be incomplete in terms of SSL configuration. You'll need to add the necessary parameters to specify the location of the SSL certificate. Such as:
Driver={MySQL ODBC 8.1 Unicode Driver};Server=Helpdesk.befesa.com;Port=3306;Database=otrs;sslca={path_to_ca_certificate};sslcert={path_to_cert_certificate};sslkey={path_to_key_certificate};
Replace {path_to_ca_certificate}, {path_to_cert_certificate}, and {path_to_key_certificate} with the actual file path of your certificate.
Once the connection string is updated, try to test the connection through the standard gateway again.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @v-nuoc-msft
First of all, thanks for you reply.
The user and password are correct because I use them in my computer and they work correctly, I have access to the database and I can work normally with Power BI Desktop, the problem is when I try to configure the ODBC connection in cloud, in the Power BI website, where I have published the pbix to share it with other people.
I have also used the sslca, sslcert and sslkey using local paths, for example, c:\users\"user"\Desktop\file.pem for each value, should I use a local path or how should I use this parameters? I tried to upload the 3 certificates to sharepoint and use the sharepoint link as path but it didn´t work.
Thanks.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
36 | |
30 | |
18 | |
12 | |
8 |
User | Count |
---|---|
49 | |
40 | |
32 | |
16 | |
14 |