我创建了一个测试云扳手实例,并且数据库一直在尝试通过 DBVisualizer 连接到它。
我已经使用 gcloud auth 命令进行了身份验证,并在 DBVisualizer 中设置了驱动程序。
我正在使用的连接字符串是:
jdbc:cloudspanner://;Project=testapp;Instance=test-instance;Database=test-spanner;PvtKeyPath=/Users/userhome/.config/gcloud/application_default_credentials.json
但是,当我尝试连接时,出现以下错误:
[Simba][SpannerJDBCDriver](100004) Failed to connect to Spanner: No NameResolverProviders found via ServiceLoader, including for DNS. This is probably due to a broken build. If using ProGuard, check your configuration
无论如何可以从 DB 管理工具(例如 DB Visualizer)获得连接吗?