How to Connect to MySQL Instance in Google Cloud Platform from Virtual Machine By Using Private IP

Topic: How to Connect to MySQL Instance in Google Cloud Platform from Virtual Machine By Using Private IP 


How to Connect to MySQL Instance in Google Cloud Platform from Virtual Machine By Using Private IP GCP Tutorial 2022, in this video, we are going to learn How to Connect to MySQL Instance in Google Cloud Platform from Virtual Machine By Using Private IP | GCP Tutorial 2022


Script:

Install MySQL Client

sudo apt-get install default-mysql-client 

Connect to MySQL by using Private IP
mysql -h IP -u root -p


Connect to MySQL with private IP
mysql -h 172.21.160.7 -u root -p


Video Demo: How to Connect to MySQL Instance in Google Cloud Platform from Virtual Machine By Using Private IP 


No comments:

Post a Comment