我正在尝试连接到我的本地主机数据库。
这是来自MSSQL Mangement Studio的屏幕快照,具有基本凭据:
这是我的application.properties文件:
thunder
sparky
draggy
运行应用程序时,出现以下错误:
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
typedef struct
{
char name[20];
int identity;
int number;
}S;
int main()
{
S *s=(S *)malloc(sizeof(S));
printf("Size of structure is %d \n",sizeof(s));
strcpy(s->name,"abcdefghijklmnopqrstuvwxyzffjfjfzdabcdefg");
printf("name is %s and size of name is: %d\n", s->name ,sizeof(s->name));
s->identity=10;
s->number=20;
printf("Identity is %d and size of identity is %d\n",s->identity, sizeof(s->identity));
printf("Number is %d and size of number is %d\n",s->number , sizeof(s->number));
return 0;
}
我不明白。 Windows身份验证是否应该使用不同的application.properties配置?
谢谢您的时间。