Download and install the SQL sever

1 Baidu into the official website, download a free version of the Developer
installation type selection After the download is complete [2] Basic
3 After the installation is complete download SSMS (based on cue points)
(However, I can not open the site how, but fortunately, some students gave me a straight hair a)
4 installation is complete
5 found [SQL server 2017 configuration Manager], opening
Here Insert Picture Description
6 enable [TCP / IP]
7 [open Microsoft SQL server management Studio 18] modify server authentication
Here Insert Picture Description
(1) select [database engine], verification Windows authentication mode is []
Here Insert Picture Description
(2) right-click the root directory, select [property]
Here Insert Picture Description
(3) click on the left side of the page to select [security], [server authentication changes to SQL server and Windows authentication mode], single click OK to save the changes.
Here Insert Picture Description
8 restart the SQL sever, the command will take effect just
9 Change login configuration
(1) expand the left directory [Security] -> [login], right-click [sa], click [Properties]
Here Insert Picture Description
(2) Select [General] page set their own passwords want to set, and then select the [state], it is allowed to connect to the database engine to select [granted], select [enable] login name, click OK to save the settings.
Here Insert Picture Description
Here Insert Picture Description
Then you can connect to the database using the login name sa

Released two original articles · won praise 2 · views 78

Guess you like

Origin blog.csdn.net/rookie_lv1/article/details/104460260