Solved

MSSQL Server 2008

Posted on 2011-02-14
3
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

737 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