RegisterDriver registers a MySQL driver that uses the cloudsqlconn.Dialer
configured with the provided options. The choice of name is entirely up to
the caller and may be used to distinguish between multiple registrations of
differently configured Dialers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[[["\u003cp\u003eVersion 1.16.0 is the latest release of the Cloud SQL MySQL driver, but older versions are also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe package \u003ccode\u003emysql\u003c/code\u003e provides a Cloud SQL MySQL driver compatible with \u003ccode\u003edatabase/sql\u003c/code\u003e and uses \u003ccode\u003ego-sql-driver/mysql\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRegisterDriver\u003c/code\u003e is a function used to register a MySQL driver with a configured \u003ccode\u003ecloudsqlconn.Dialer\u003c/code\u003e, allowing for custom names and multiple configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLivenessCheckConn\u003c/code\u003e type facilitates connection health checks, especially for non-TLS connections.\u003c/p\u003e\n"]]],[],null,[]]