使用云数据库PlanetScale和TiDB Cloud #394
aaro-n
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
sonic支持SQLite和MySQL,SQLite是保存在本地,迁移不方便,因此选择MySQL数据库,MySQL我不想自己搭建,因此测试了云数据库PlanetScale和TiDB Cloud。
测试
先说结论,云数据库PlanetScale和TiDB Cloud都可以运行sonic,但因为都启用了SSL认证,因此都要修改dns数据库连接。
修改
源配置文件
修改后的配置文件
在
dns数据库配置中添加&tls=true,启用证书认证。Beta Was this translation helpful? Give feedback.
All reactions