<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>junya-gx</author_name>
  <author_url>https://blog.hatena.ne.jp/junya-gx/</author_url>
  <blog_title>Inside of LOVOT</blog_title>
  <blog_url>https://tech.groove-x.com/</blog_url>
  <categories>
    <anon>開発</anon>
  </categories>
  <description>はじめに こんにちは、junya です。Cloud Run上で動作するNext.jsアプリケーションから、Cloud SQL (PostgreSQL) データベースへ接続しようとしたところ、思いのほか苦戦したので、記録として残しておきます。 技術的選択肢と接続ライブラリ 選択肢が多々あり、その選択肢の意味を理解し、適切なものを選び、設定していくのが大変でした。Cloud RunとCloud SQLの連携には、主に以下の要素の組み合わせで構成が決まります。ここでは、Cloud Runからの接続方法を主軸に、それぞれの技術的選択肢とDrizzle ORM (Node.js) で利用するライブラリを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.groove-x.com%2Fentry%2F20250710%2F1752116611&quot; title=&quot;Cloud Run (Next.js) と Cloud SQL の接続構成 - Inside of LOVOT&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/158934047/1672757830522123</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-10 12:03:31</published>
  <title>Cloud Run (Next.js) と Cloud SQL の接続構成</title>
  <type>rich</type>
  <url>https://tech.groove-x.com/entry/20250710/1752116611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
