App Engine and MySQL(App Engine 和 MySQL)
问题描述
我只是想问我们是否可以从 Google App Engine 访问外部 MySQL 服务器...
I just wanted to ask if we can access an external MySQL server from Google App Engine...
推荐答案
与其他主机通信的唯一方式是使用 UrlFetch 仅提供 HTTP 和 HTTPS 请求.
所以,你不能开箱即用.
The only way to communicate with other hosts is by using UrlFetch that only provides HTTP and HTTPS requests.
So, you can't do it out of the box.
无论如何,如果您确实需要访问外部 MySQL 服务器数据库,您应该考虑通过 Web API(例如 RESTful、Soap Web 服务)公开它.这样,您的数据也可以通过 UrlFetch 获得.
Anyway, if you really need to access an external MySQL server database, you should consider to expose it through a Web API (RESTful, Soap web-services for example). In this way your data would be available also via UrlFetch.
这篇关于App Engine 和 MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:App Engine 和 MySQL


基础教程推荐
- 带更新的 sqlite CTE 2022-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01