Тёмный

Connect Google Cloud SQL to a Python Cloud Function 

Vladsave Coding
Подписаться 1,4 тыс.
Просмотров 9 тыс.
50% 1

Опубликовано:

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@samiullahshah7264
@samiullahshah7264 3 месяца назад
Thanks, Vladsave, your video made my task very easy.
@Rebeca-rl2lm
@Rebeca-rl2lm 2 месяца назад
Muchas gracias, tenia mas de un día queriendome conectar y no podía.
@How_About_This428
@How_About_This428 Год назад
Thank you very much i really appreciate people like you who spread this kind of knowledge
@vladsavecoding4111
@vladsavecoding4111 Год назад
Thank you 🙏
@mosesdaudu
@mosesdaudu 8 месяцев назад
Awesome tutorial 💌
@JelleKeppels
@JelleKeppels Год назад
Great tutorial, thanks a lot!
@Geeksrik
@Geeksrik 6 месяцев назад
I am unable to connect to my SQL instance just following what you have provided. I see you used socket from local host but on cloud function you did not use the socket part. I get the following error pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'w.x.y.z' (timed out)") My SQL instance has a public and private IP. Should I use sockets even on the cloud, or maybe sql proxy? service account is as you ve shown with the right level of permissions.
@vladsavecoding4111
@vladsavecoding4111 6 месяцев назад
If it fails on the Cloud functions make sure you enable Cloud SQL Admin API. If the proxy fails on your local machine make sure the user you are using has permissions for Cloud SQL and you enter the password correctly. You can go to IAM in Google Web Console and give "Cloud SQL Admin" to the user you logged in with
@kalidsherefuddin
@kalidsherefuddin Год назад
Thanks for
@TrikNgonlen
@TrikNgonlen 9 месяцев назад
Do you have tutorial about deploying Laravel App + MySQL to Cloud Run + Cloud SQL?
@vladsavecoding4111
@vladsavecoding4111 9 месяцев назад
Unfortunately no, I never used Laravel. Maybe I'll do one in the future
@TrikNgonlen
@TrikNgonlen 9 месяцев назад
@@vladsavecoding4111 awesome! Can't wait for that
@muniefhassantahir6806
@muniefhassantahir6806 Год назад
I want to connect to my instance in a project I have deployed on google server. I am scrapping data and I want to store the data in this instance. How do I do that? Can you spare me few minutes? I will provide my contact details.
@discere5811
@discere5811 Год назад
are all the process the same if my machine runs on windows?
@vladsavecoding4111
@vladsavecoding4111 Год назад
Yes, you can use cloud_sql_proxy on windows
@discere5811
@discere5811 Год назад
@@vladsavecoding4111 thank you for replying, but can you make a tutorial where in you use a machine running on windows? because I somehow cannot follow this video since its on mac