使用 Charles 查看 Windwos Subsystem for Android 裝置如何處理 HTTP request & response。
Prerequisites
Charles proxy
Windows Subsystem for Android
Android Debug Bridge(adb)
Instructions
查詢本機 IPipconfig
Q:
在 General tab 填寫完連線資訊後,測試連線時顯示
[08S01] Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
mysql no appropriate protocol (protocol is disabled or cipher suites are inappropriate)
A:
How to save a username & password in client app or local machine safely?
Use OS-dependent credential management system or service.
Windows
Credential Manager API
macOS
Keychain API
Table of Contents
[TOC]
On-premises & Off-premises 定義
On-premises software
On-premises software (also referred to, incorrectly, as on-premise,
and alternatively abbreviated on-prem) is installed and runs on computers
on the premises of the person or organization using the software,
This documentation describes how to set up a connection from an application running in Google Kubernetes Engine to a Cloud SQL instance.
Introduction
主要有兩種做法,你可以用 Cloud SQL Auth proxy (公開或私有 IP) 或使用私有 IP 直接連線。
即使你使用私有 IP 連線,搭配 Cloud SQL Auth proxy 也是較建議的做法。因為 Cloud SQL Auth proxy 提供強加密和使用 IAM 的身份驗證來保護資料庫的安全。
:::success
本篇採用第一種做法 :tada:
:::