Power bi to Mysql on localhost - mysql

I want to connect power bi to a MySql db that is on an a remote server and allows only localhost connection. I know power bi does not support ssh by itself so I can't use it like in Workbench. Is there any workaround to connect powerbi to a remote mysql db?

I can do it on my machine as follows:
Choose Get Data > SQL Server from the Home tab
Type localhost into the Server field
Click OK
Specify Credentials
Click Connect

Related

How to connect with mysql using power bi from another system?

I am using my sql in one system powerbi in another system. I entered the server id with port number. But it is throwing some error. How to enable remote connection in mysql? And how to connect it to power bi
I tired to enable remote connection but i don't know how to do

how to connect to a shared mysql database to power bi

I have a database in phpmyadmin, which is not hosted in my local machine. I just have the username and password to enter in the database. link and info is below:
I want to connect the "outreachbin" database to power bi. for that i did the following steps:
1.Get Data > Database > MySQL Database
2.server:127.0.0.1:3306(also tried localhost:3306)
Database: outreachbin
3.Database:
username:phpmyadmin
password: *******
got error: "MySQL: Unable to connect to any of the specified MySQL hosts."
Also installed mysql connector but always getting this error. How can i solve this problem? Thanks
It appears from the screenshot you posted that phpMyAdmin is hosted on server IP 54.90.3.4. Assuming the database is hosted on the same server you may want to try setting your server value to:
server:54.90.3.40:3306
The port 3306 assumes that the database server is running on the default port.
So, if it is the first time you are connecting to it, then you can see an icon at the home page called as MySQL. Then click on it and it will ask details. It will ask the server name, enter the name and database if required. Then it verifies and asks the username and password to login. the server Ip in your image is IP 54.90.3.4 this is your hosted server. If your database is hosted on same server, you should set your same server value. Add the default localhost in the last. follow here to connect to powerBI

Connect to Azure MySQL Database using MySQL Workbench

I have a Web App running on Azure. I can connect to the DB with Visual Studio and sending/retrieving data on my app works fine.
However, I can not connect to the MySQL db using MySQL Workbench.
The error that I have is
Lost connection to MySQL server at 'reading initial communication packet', system error: 54
I have whitelisted my IP on the azure portal and opened the port 1433 on my computer. I don't understand why can't I connect using MySQL Workbench while having no problem with Visual Studio.
EDIT:
Here is how i have setup MySQL Workbench:
And Here is my Azure portal:
I'm using port 1433 because that is the port given on the Azure Portal, but also in this tutorial: Connect to Azure DB using MySQL Workbench
Ok - now that you included screenshots: You're trying to use MySQL Workbench to connect to a SQL Database (which is SQL Server as a service, not MySQL).
Edit: 8/15/2017
Azure now offers Azure Database for MySQL which is currently in public preview.
In your specific case, you created a SQL Database, which cannot be manipulated with MySQL Workbench.

Connection failed in using mysqlconnector ODBC to connect from sql to access

I am trying to connect mysql database in phpmyadmin to the access file. I am using mysqlconnector ODBC for that. Tutorial I am following is this
The problem is that when I give the credentials to connect to database, it gives me error as shown in this snapshot
I have tried hard to search on internet but failed. What mistake I am doing. I am putting the ftp information of the server there. Is there any database credentials i need to put?
You can't use the FTP credentials to connect the MySQL database. You have to use the database credentials. Make sure you have done followings before connecting.
Make sure MySQL server is up and running on the HOST IP and PORT.
Your MySQL server can accept connections from your IP or use % for
all IPS
Make sure you have a valid USER account
EDIT
Or tell us where(local server, internet, IP) the MySQL database is installed. The port number the server is listening on. How you access MySQL server normally.

connect to mysql database using visual studio 2010 remotely

I am trying to connect to MySql db using VS2010. I added my ip address in cpanel allow hosts. I also grabbed the IP address for the server where the database is hosted which is just my website.
So I go to server explorer, right click database connections and clicked on add a connection
I select .NET Framework Data Provider for MySQL for Data Source
for Sever Name I typed the IP address for my website where the Database is
Typed in the user name and password who has all the privileges, and entered the Database Name too.
When I hit test connection I always getting "Unable to connect to any of the specified hosts"
any advice is appreciated
Thanks
So, in order to connect to a MySql database from VS2010 see the link bellow:
http://www.itcsolutions.eu/2010/09/09/how-to-connect-to-mysql-database-from-visual-studio-vs2010-problems-with-net-connectors/
Have you tried adding % as your access host under Manage Remote MySQL Access of your Cpanel?
Try this
http://zambalestechrealm.wordpress.com/2012/03/08/vb-net-remote-access-to-mysql-database-of-my-website-2/
It says
Goto Your site Cpanel, and look for MySQL remote access, in my case i put % in the list of user to access remotely to my database. ‘%’ percent means to allow all connection to connect to my MySQL database.