all groups > sql server msde > may 2005 >
You're in the

sql server msde

group:

Creating a new database beside 1 that currently exists


Creating a new database beside 1 that currently exists steven scaife
5/19/2005 4:35:15 AM
sql server msde:
I am developing an application that will use msde or SQL sevrer depending on
if they are in the office or workign on the road. If they are on the road
they currently have MSDE installed by a different program. I also want to
use the msde service to run my database.

is it possible to run two databases on the same PC?
if it is do I need to know the sa password for msde? if i do is there a way
around it, I doubt that the company whos program runs on msde would want me
knowing the sa password

I have my database scripted in 3 sql files and I know that I will have to
use oSQL to execute them

If any one can point me how to do it or provide sample code I would be very
grateful

Re: Creating a new database beside 1 that currently exists steven scaife
5/19/2005 5:23:14 AM
thanks for the reply

Am I right in assuming that I just re-run the msde2000 setup but name an
instance

eg. C:\MSDERelA\setup.exe sapwd="<password>" INSTANCENAME="Kaisen"
TARGETDIR="C:\Program files\KaisenDB\"

then I can play around with it using my SA password and its totally seperate
but just using the sql service

sorry if i sound dumb but I dont have much experience with administering
msde, just running from the bits i picked up

[quoted text, click to view]
Re: Creating a new database beside 1 that currently exists Jens Süßmeyer
5/19/2005 2:01:59 PM
Comments inline.

--
HTH, Jens Suessmeyer.

---
http://www.sqlserver2005.de
---
"steven scaife" <stevenscaife@discussions.microsoft.com> schrieb im
Newsbeitrag news:399E4B40-6312-423F-99B1-D3566EA9BEA6@microsoft.com...
[quoted text, click to view]
if you got windows auth. activated you can easily log on to the msde
with an administrive account, they are usally members of the system
administrator group, if they disabled it, you can reenable that via:

HKEY_LOCAL_MACHINE\SOFTWARE\Mi­crosoft\
MicrosoftSQLServer\<instance_n­ame>\MSSQLServer\LoginMode
auf "1" (Windows Auth)

http://www.microsoft.com/sql/t­echinfo/tips/administration/Ma­y3.asp


[quoted text, click to view]

You can call external scripts via the switch -i

OSQL -iC:\Test.sql

[quoted text, click to view]

Re: Creating a new database beside 1 that currently exists Andrea Montanari
5/19/2005 5:29:27 PM
hi Jens,
[quoted text, click to view]

Windows authentication can not be disabled even in the value of "0" is
reported as SQLDMOSecurity_Normal (Allow SQL Server Authentication only)..
anyway, you'd require administrative WinNT privileges to modify that
registry settings...
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.12.0 - DbaMgr ver 0.58.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

Re: Creating a new database beside 1 that currently exists Andrea Montanari
5/19/2005 5:32:56 PM
hi Steven,
[quoted text, click to view]

MSDE installs by default disable standard SQL Server connection and only
allowing trusted ones...
to modify this behaviour at install time you have to provide the
SECURITYMODE=SQL paramenter to the setup.exe boostrap installer... or,
after install, as already discussed, you can modifiy a registry key..
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.12.0 - DbaMgr ver 0.58.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

AddThis Social Bookmark Button