//////////////////////////////////////
in SQLserver Management Studio
//////////////////////////////////////
1、new a database,name: basisagent
2、restore the database from file: basisagent_empty.bak
pay attention ,tick off "Overwrite the existing database".
the host info please open the "host_command" table , manual filling.
///////////////////////////
about connect the SQLserver
///////////////////////////
"App.config" in Project,modify the content:
the csdn blog: https://blog.csdn.net/ot512csdn/article/details/80352073