且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

不能使用弹簧连接到SQL Azure的数据库服务器

更新时间:2023-02-04 08:26:23

Azure的SQL数据库的用于JDBC的连接字符串像jdbc:sqlserver://<hostname>.database.windows.net:1433;database=<dbname>;user=<user>@<hostname>;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.windows.net;loginTimeout=30;$c$c>.

The connection string of Azure SQL Database for JDBC is like jdbc:sqlserver://<hostname>.database.windows.net:1433;database=<dbname>;user=<user>@<hostname>;password={your_password_here};encrypt=true;hostNameInCertificate=*.database.windows.net;loginTimeout=30;.

您可以检查在Azure门户旧的或新的门户网站您的Azure SQL数据库的连接字符串,请参见下面的图片。

You can check the connection string of your Azure SQL Database on Azure old portal or new portal, please see the pictures below.

产品图1.检查JDBC连接字符串在Azure门户老
不能使用弹簧连接到SQL Azure的数据库服务器

产品图2.检查JDBC连接字符串在Azure上新门户
不能使用弹簧连接到SQL Azure的数据库服务器