Solved

MSSQL Server 2008

Posted on 2011-02-14
3
325 Views
Last Modified: 2012-05-11
Hello, how do I create an account for a odbc connection to my database on my mssql server 2008?
0
Comment
Question by:vera2006
3 Comments
 
LVL 16

Assisted Solution

by:EvilPostIt
EvilPostIt earned 166 total points
ID: 34888162
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
 
LVL 14

Assisted Solution

by:JAN PAKULA
JAN PAKULA earned 167 total points
ID: 34888236
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
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 167 total points
ID: 34888259
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question