If you want to use Microsoft SQL Server in your network, of course you must first acquire it. Once again you have many options:
After acquiring Microsoft SQL Server, you must install it, on the server of course. It has some prerequisites that you will be prompted to have on the server. Also, you must use an account that has administrative rights on the server. Once you are ready, install Microsoft SQL Server. Before being able to connect client workstations to a database, you must prepare the server. Once the server can receive external connections, you can either connect to it when you launch SQL Server Management Studio or change the connection after starting Microsoft SQL Server. In most cases, the default installation of Microsoft SQL Server doesn't allow clients to connect to it. Sometimes, if you try establishing a connection to the server, you may receive an error as "A network-related or instance-specific error occurred while establishing a connection to SQL Server.":
There are a few actions you must first perform, from the operating system's firewall to Microsoft SQL Server's own configuration. One of the actions you should take care of for client connectivity is to dig/create a hole in the firewall. Besides taking care of the firewall, you should configure TCP/IP connectivity and create an alias. To do this, on the server:
In order to connect to a database, a user must be authenticated. The authentication is done using a username and a password. In the absence of this, a user would receive an error:
The user can also take advantage of the group he or she belongs to. For this reason, the ability to be authenticated in order to access the database or resource is called a login. Before creating a login, the person for whom you want to create the account must have a user account on the domain (the server). In other words, the user must have an account that allows him or her to establish a connection to the network. To visually create a login in Microsoft SQL Server, in the Object Explorer, expand the Security node. Right-click Login and click New Login...
This would display the Login - New dialog box:
To connect to a Microsoft SQL Server database, the user must have a user name and a password. If you are visually creating a login and if you want the Microsoft Windows operating system to take care of logging, in which case the user will be able to connect to Microsoft SQL Server without providing a user name and a password, click the Windows Authentication radio button (it is the default and should be selected already). Here is an example:
Of course, the user's account must have been created already on the server (domain). The user must also provide a password, which must be associated with the login. If you are visually creating the login, to provide a password, first click the SQL Server Authentication radio button. Then click the Password text box and type the desired password. Click the Confirm Password text box and type the same password. Microsoft SQL Server make it possible to manage the server from a client workstation; that is, from almost any computer that can access the server. To use and manage the server from a workstation, you must install the client tools on the workstation you intend to use. To install the client tools of Microsoft SQL Server, you use the same DVD of the server installation but make different choices. Because you need a professional operating system, the computer must run Microsoft Windows XP Professional, Microsoft Windows Vista higher than Home Premium, or Microsoft Windows 7 higher than Home Premium. This means that Home Based and Home Premium operating systems must not be used in this scenario (of course you can install Microsoft SQL Server on Microsoft Windows Vista or 7 Home Premium, but those operating systems cannot access a Microsoft Windows Server 2008 computer, so there is no need to consider them in this case).
|
|
|||||||||||||||||||||||
|
In order to use a database stored in a Microsoft SQL Server, a user's workstation has to establish a connection to the server. After configuring the server for client connectivity, you can establish connections to it. From the client workstation where you would have installed the client tools, if you start Microsoft SQL Server, you would be presented the Connect To Server dialog box. In the Connect to Server dialog box, click the arrow of the Server Name combo box and select <Browse for more...>:
If you are using a computer on which the server is not installed, the Local Servers property page would be empty:
Click Network Servers. For a few seconds, the dialog box would start looking for the computers that have Microsoft SQL Server in your network:
The names of servers would appear in a tree list:
Click the name of the computer you want to connect to and click OK. Back in the Connect to Server dialog box:
You will then decide whether to use Windows Authentication or not. |
|
|||
|