Google SQL for MySQL
Cloud Cloud SQL is a fully managed relational database service that offers high performance, seamless integration, and impressive scalability. It offers
MySQL
,PostgreSQL
, andSQL 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 Google Cloud SQL for MySQL
to store chat message history with the MySQLChatMessageHistory
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 for MySQL instance
- Create a Cloud SQL database
- Add an IAM database user to the database (Optional)