Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Setting password for each database
Hi,

When I create a new database from Enterprise Manager (right click on
databases > New Database) I noticed that I am not prompted to create a
password or user name. Can I take it then that all databases under the
same local group will have the same password and user name?

I have tied to access the newly created database using the same
password and username but haven't had any luck.

Thanks


Report this thread to moderator Post Follow-up to this message
Old Post
compassSoftware@gmail.com
05-27-05 01:24 AM


Re: Setting password for each database
(compassSoftware@gma
il.com)  writes:
> When I create a new database from Enterprise Manager (right click on
> databases > New Database) I noticed that I am not prompted to create a
> password or user name. Can I take it then that all databases under the
> same local group will have the same password and user name?
>
> I have tied to access the newly created database using the same
> password and username but haven't had any luck.

There is no password per database. However, a login must be granted
access to a database to be able to access it.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
05-27-05 01:24 AM


Re: Setting password for each database

> There is no password per database. However, a login must be granted
> access to a database to be able to access it.

What I am doing is I have exported a production db in to a new one I
have created and I am tring to work with the newly created one but I
can't seem to access it. In the newly created db I have create a user
name in the Users folder to match the user name in the production db.

I am using the same code in trying to access the new one as I use in
accessing the production db except I have changed the name of the
database to reflect the new db (i.e. I use the same user name and
password).

>From this description can you tell anything I am missing in accessing a
newly copied db?


Report this thread to moderator Post Follow-up to this message
Old Post
compassSoftware@gmail.com
05-27-05 01:24 AM


Re: Setting password for each database
(compassSoftware@gma
il.com)  writes:
> What I am doing is I have exported a production db in to a new one

How did you export it? Is the new database on the same server as the
old one?

> I have created and I am tring to work with the newly created one but I
> can't seem to access it.

What error message do you get?




--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
05-28-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:42 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006