I just want to manage my database on Google Cloud using C#. I have just started learning database. P.S. I am not good at English. I hope you understand me.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
I assume you've already created your Google Cloud SQL MySQL instance.
Following the instructions at Connect to your Cloud SQL instance using SSL, you'll need to enable external SSL access and create a client certificate.
You'll download the three files: server-ca.pem, client-cert.pem, client-key.pem.
Following these instructions, convert client-cert.pem and client-key.pem to a pfx file:
Install the MySqlConnector NuGet package into your C# application.
Create your connection string as follows: