Google Cloud SQL for MySQL
Cloud SQL is a fully managed relational database service that offers high performance, seamless integration, and impressive scalability. It offers PostgreSQL, MySQL, and SQL Server database engines. Extend your database application to build AI-powered experiences leveraging Cloud SQL's LangChain integrations.
This notebook goes over how to use Cloud SQL for MySQL
to store vector embeddings with the MySQLVectorStore
class.
Learn more about the package on GitHub.
Before you beginโ
To run this notebook, you will need to do the following:
- Create a Google Cloud Project
- Enable the Cloud SQL Admin API.
- Create a Cloud SQL instance. (version must be >= 8.0.36 with cloudsql_vector database flag configured to "On")
- Create a Cloud SQL database.
- Add a User to the database.