Unix Technical Forum

Not getting database list while trying to chage default db.

This is a discussion on Not getting database list while trying to chage default db. within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I need some help! We're correcting some security things on our SQL server and now when I try to ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:42 PM
=?Utf-8?B?Y21pZXM=?=
 
Posts: n/a
Default Not getting database list while trying to chage default db.

I need some help!

We're correcting some security things on our SQL server and now when I try
to establish an ODBC connection, I can no longer choose the default database
for the connection from the drop down list.

It has to be related to user rights we removed on the SQL Server, but I
can't figure out what. If anyone has an idea what is used to populate that
list of databases, I'd appreciate knowing that info.

Thanks a bunch

Corey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:43 PM
Sue Hoegemeier
 
Posts: n/a
Default Re: Not getting database list while trying to chage default db.

If no databases are showing up in the drop down, you can
type the database name. To have databases show up in the
drop down when creating DSNs, you need to select the option:
Connect to SQL Server to obtain default settings for the
additional configuration options. The ODBC data source
administrator will then execute:
select name from master..sysdatabases where
has_dbaccess(name)=1
So what shows in the drop down at that point depends on what
you are using in the Authentication settings for the same
screen in the ODBC data source administrator.

-Sue

On Fri, 29 Apr 2005 14:46:06 -0700, "cmies"
<cmies@discussions.microsoft.com> wrote:

>I need some help!
>
>We're correcting some security things on our SQL server and now when I try
>to establish an ODBC connection, I can no longer choose the default database
>for the connection from the drop down list.
>
>It has to be related to user rights we removed on the SQL Server, but I
>can't figure out what. If anyone has an idea what is used to populate that
>list of databases, I'd appreciate knowing that info.
>
>Thanks a bunch
>
>Corey


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:06 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com