How to connect Power BI Desktop to remote MySql server that requires authentication

Viewed 20540

I have a MySql database running on a remote server which requires ssh authentication that I need to connect to with Microsoft Power BI. I can easily connect to MySQL on my localhost machine, but cannot find a way to manage both the server ssh authentication and the database user log on information.

The server requires authentication on port 22 with a username and password and the MySQL database requires a different username and password.

Can anyone offer assistance?

6 Answers

Please remember that for remote connections you need to authorise the mysql users to connect from specific hosts (adding the IP) or % to allow to get connected from any host remotely

the SQL is something similar to:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;

How to allow remote connection to mysql

Related