[{"data":1,"prerenderedAt":354},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql":3},{"id":4,"title":5,"body":6,"description":345,"extension":346,"meta":347,"navigation":348,"path":349,"redirect":350,"seo":351,"stem":352,"__hash__":353},"docs\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql.md","Google Cloud SQL Connection Guide",{"type":7,"value":8,"toc":333},"minimark",[9,13,17,20,36,39,44,47,58,61,65,88,95,99,102,124,130,136,140,148,151,180,183,199,203,206,217,220,228,232,235,241,266,270,315,319],[10,11,5],"h1",{"id":12},"google-cloud-sql-connection-guide",[14,15,16],"p",{},"Use this page when your source or target is hosted in Google Cloud SQL.",[14,18,19],{},"This guide focuses on the public setup that DBConvert Streams needs:",[21,22,23,27,30,33],"ul",{},[24,25,26],"li",{},"network reachability",[24,28,29],{},"connection parameters",[24,31,32],{},"SSL\u002FTLS considerations",[24,34,35],{},"the extra flag required for PostgreSQL CDC",[14,37,38],{},"For current source, target, and mode boundaries, see the product introduction page.",[40,41,43],"h2",{"id":42},"supported-workflows-in-this-docs-set","Supported workflows in this docs set",[14,45,46],{},"This page covers Google Cloud SQL instances used through:",[21,48,49,52,55],{},[24,50,51],{},"a MySQL connection",[24,53,54],{},"a PostgreSQL connection",[24,56,57],{},"PostgreSQL CDC source setup after the required Cloud SQL flag is enabled",[14,59,60],{},"It does not document Cloud SQL Proxy-specific connection flows. The public docs assume direct network access to the instance endpoint.",[40,62,64],{"id":63},"base-setup","Base setup",[66,67,68,79,82,85],"ol",{},[24,69,70,71,78],{},"Sign in to the ",[72,73,77],"a",{"href":74,"rel":75},"https:\u002F\u002Fconsole.cloud.google.com",[76],"nofollow","Google Cloud Console",".",[24,80,81],{},"Open your Cloud SQL instance.",[24,83,84],{},"Confirm the engine type: MySQL or PostgreSQL.",[24,86,87],{},"Confirm the instance has a public or otherwise reachable network path from the DBConvert Streams deployment.",[14,89,90],{},[91,92],"img",{"alt":93,"src":94},"select MySQL\u002F PostgreSQL instance","\u002Fimages\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql\u002Fselect-instance.png",[40,96,98],{"id":97},"network-configuration","Network configuration",[14,100,101],{},"Use the instance IP address that your deployment can reach directly.",[66,103,104,112,118,121],{},[24,105,106,107,111],{},"Open the instance ",[108,109,110],"strong",{},"Summary"," tab and note the public IP.",[24,113,114,115,78],{},"Open ",[108,116,117],{},"Networking",[24,119,120],{},"Confirm that the instance is allowed to accept traffic from the DBConvert Streams host.",[24,122,123],{},"Add an authorized network entry for the deployment IP if needed.",[14,125,126],{},[91,127],{"alt":128,"src":129},"Authorize Network","\u002Fimages\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql\u002Fauthorize-network.png",[14,131,132],{},[91,133],{"alt":134,"src":135},"Cloud SQL Connections Summary","\u002Fimages\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql\u002Fconnections-summary.png",[40,137,139],{"id":138},"connection-configuration","Connection configuration",[141,142,145],"alert",{"title":143,"type":144},"Important","warning",[14,146,147],{},"Use the instance IP address or host that your DBConvert Streams deployment can reach directly. Do not use the Cloud SQL instance connection name unless you are deliberately routing through Cloud SQL Proxy, which is outside this public guide.",[14,149,150],{},"Typical fields:",[21,152,153,156,168,171,174,177],{},[24,154,155],{},"host: the Cloud SQL public IP or reachable hostname",[24,157,158,159,163,164,167],{},"port: ",[160,161,162],"code",{},"3306"," for MySQL, ",[160,165,166],{},"5432"," for PostgreSQL",[24,169,170],{},"username",[24,172,173],{},"password",[24,175,176],{},"database",[24,178,179],{},"SSL\u002FTLS settings if required by your policy",[14,181,182],{},"Use:",[21,184,185,192],{},[24,186,187,191],{},[72,188,190],{"href":189},"\u002Fdocs\u002Fconnections\u002Fmysql-server","MySQL Server Configuration"," for MySQL connection behavior",[24,193,194,198],{},[72,195,197],{"href":196},"\u002Fdocs\u002Fconnections\u002Fpostgresql-server","PostgreSQL Server Configuration"," for PostgreSQL connection behavior",[40,200,202],{"id":201},"ssl-configuration","SSL configuration",[14,204,205],{},"Use SSL\u002FTLS whenever your environment requires encrypted transport.",[66,207,208,211,214],{},[24,209,210],{},"Enable or confirm SSL on the Cloud SQL side.",[24,212,213],{},"Configure the matching SSL mode in DBConvert Streams.",[24,215,216],{},"Upload CA or client certificates where required by the selected engine and policy.",[141,218],{"title":219,"type":144},"Unencrypted production traffic is not recommended.",[14,221,222,223,227],{},"Use ",[72,224,226],{"href":225},"\u002Fdocs\u002Fnetwork-security\u002Fssl-configuration","SSL Configuration"," for the certificate flow.",[40,229,231],{"id":230},"postgresql-cdc-in-cloud-sql","PostgreSQL CDC in Cloud SQL",[14,233,234],{},"If you use Cloud SQL PostgreSQL as a CDC source, you must enable logical decoding first.",[14,236,237],{},[91,238],{"alt":239,"src":240},"Google Cloud SQL PostgreSQL Flags","\u002Fimages\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql\u002Fgoogle-cloud-sql-postgres-flags.png",[66,242,243,246,249,255,258],{},[24,244,245],{},"Edit the instance.",[24,247,248],{},"Open the database flags section.",[24,250,251,252,78],{},"Add ",[160,253,254],{},"cloudsql.logical_decoding = on",[24,256,257],{},"Save the change and wait for the instance to restart or apply the update.",[24,259,260,261,265],{},"Then follow ",[72,262,264],{"href":263},"\u002Fdocs\u002Fintegration\u002Fpostgres-cdc-source-configuration","PostgreSQL CDC Source Configuration"," for privileges and stream setup.",[40,267,269],{"id":268},"validation-checklist","Validation checklist",[66,271,272,288,294,312],{},[24,273,274,275,279,280,283,284,287],{},"Test the connection from the ",[72,276,278],{"href":277},"\u002Fdocs\u002Fdatabase-explorer\u002F","Data Explorer"," sidebar (right-click → ",[108,281,282],{},"Test connection",") or from the connection editor. If it fails, verify the deployment IP is listed under ",[108,285,286],{},"Authorized networks"," in the Cloud SQL console.",[24,289,290,291,293],{},"Open the instance in ",[72,292,278],{"href":277}," to verify visibility.",[24,295,296,297,300,301,304,305,308,309,78],{},"For PostgreSQL CDC, confirm ",[160,298,299],{},"cloudsql.logical_decoding"," is set to ",[160,302,303],{},"on"," in the instance flags. Run ",[160,306,307],{},"SHOW wal_level"," and verify it returns ",[160,310,311],{},"logical",[24,313,314],{},"If using SSL, confirm the connection succeeds with the selected verification mode — Cloud SQL may reject connections that skip certificate validation.",[40,316,318],{"id":317},"related-docs","Related docs",[21,320,321,325,329],{},[24,322,323],{},[72,324,190],{"href":189},[24,326,327],{},[72,328,197],{"href":196},[24,330,331],{},[72,332,264],{"href":263},{"title":334,"searchDepth":335,"depth":335,"links":336},"",2,[337,338,339,340,341,342,343,344],{"id":42,"depth":335,"text":43},{"id":63,"depth":335,"text":64},{"id":97,"depth":335,"text":98},{"id":138,"depth":335,"text":139},{"id":201,"depth":335,"text":202},{"id":230,"depth":335,"text":231},{"id":268,"depth":335,"text":269},{"id":317,"depth":335,"text":318},"Configure Google Cloud SQL for DBConvert Streams using MySQL or PostgreSQL connection workflows.","md",{},false,"\u002Fdocs\u002Fconnections\u002Fgoogle-cloud-sql",null,{"title":5,"description":345},"docs\u002Fconnections\u002Fgoogle-cloud-sql","iBrOng2J3S1-jIcmobgl6wc2VLnoIjrevZi5RhkTFfA",1782346475196]