Improve company productivity with a Business Account.Sign Up

x
?
Solved

MSSQL Server 2008

Posted on 2011-02-14
3
Medium Priority
?
340 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 664 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 668 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 668 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

602 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