By newoco
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 !!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.