Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

MSSQL Server 2008

Hello, how do I create an account for a odbc connection to my database on my mssql server 2008?
0
vera2006
Asked:
vera2006
3 Solutions
 
EvilPostItCommented:
In management studio.....

Under security folder beneath the instance name, right click and select New > Login. Assign the appropriate permissions and the password and this should work.
0
 
JAN PAKULACommented:
A SQL Server data source name (DSN) identifies an ODBC data source containing all of the information that an ODBC application needs to connect to a SQL Server database on a specific server. There are two ways you can define an ODBC data source name:

On a client computer, open Administrative Tools in Control Panel, and double-click Data Sources (ODBC). This will open the ODBC Data Source Administrator, which you can use to create a DSN.

In an ODBC application, call SQLConfigDataSource.

A SQL Server data source contains:

The name of the data source.

Any information needed to connect to a specific instance of SQL Server.

The default database to use on a specific instance of SQL Server (optional).

Settings such as which ANSI options to use, whether to log performance statistics, and so on (optional).

An ODBC application is not required to connect through a data source. However, the application must provide the same connectivity information to an ODBC connect function that the driver would otherwise find in a DSN.


0
 
Manoj PatilSr. Software EngineerCommented:
Open SQL SQL Server Management Studio >>> Connect to Server >>> Then Look For Security >>> Under Security tab right click click on Logins >>> Select New Login
>>> Then provide Login Name. If you select using SQL Server Authentication type password.
Uncheck Enforce Password Policy.

On the Bottom of Page Select Default Database from List.

To choose other Option see top left panel of page
In Server Role, you can choose this user as server admin.
In User Mapping . Check your database and update Data Base role membership.
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Tackle projects and never again get stuck behind a technical roadblock.
Join Now