※この投稿は米国時間 2023 年 2 月 7 日に、Google Cloud blog に投稿されたものの抄訳です。 データベースへの接続は、新しいアプリケーションを設定するうえで最も難しい部分のひとつです。Google 以外にも、正しい接続文字列を作成しようと何日も費やした後に、「ここにデータベースのパスワードを平文で入れればいいのか?」と自問したデベロッパーがたくさんいるはずです(ちなみに質問の正解はノーです)。 Cloud SQL は、Google Cloud Platform で提供される MySQL、PostgreSQL、SQL Server 用のフルマネージド リレーショナル データベース サービスです。これを使用すれば、Cloud SQL コネクタを使用して簡単に接続できます。 コネクタの導入前 Google Cloud では、新しい Cloud SQL データベースを数分