在连接字符串上配置参数 persist security info=true;
server=localhost;user=root;password=111111;database=test;persist security info=true;
如果不加,则.NETCore可能会自动把密码部分去除
在连接字符串上配置参数 persist security info=true;
server=localhost;user=root;password=111111;database=test;persist security info=true;
如果不加,则.NETCore可能会自动把密码部分去除