hi i try to connect google data studio to mysql but it fail
already allow 12 ip from google already setup mysql remote connection
any idea or tutorial ??
tahnks !!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I need to do this exact same thing!
Finally i was able to connect data studio and mysql server inside a DO droplet :
1.- Allow mysql to accept external connections:
sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
look for
bind-address = 127.0.0.1
change it to
bind-address = 0.0.0.0
2.- restart the server to apply the changes:
sudo systemctl restart mysql
3.- Create a new admin user for mysql:
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' WITH GRANT OPTION;
CREATE USER 'username'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
4.- Open the ports:
sudo ufw allow mysql
That’s all folks now go to datastudio and setup the new connection with que data that you just create (New admin user).
Atte. Max Mussuto
looking at the same for postgres
Click below to sign up and get $100 of credit to try our products over 60 days!
Has anyone figured this out yet?