Re: Connecting to MS SQL Express from other PC
- From: Charles Calvert <cbciv@xxxxxxxxx>
- Date: Fri, 04 Apr 2008 18:32:50 -0400
[top-posting fixed]
On Thu, 3 Apr 2008 21:59:00 -0700, Misha
<Misha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
<AB5716E4-67DA-43ED-B2AE-0C4499B5AFFA@xxxxxxxxxxxxx>:
"Charles Calvert" wrote:
On Thu, 27 Mar 2008 12:53:01 -0700, Misha
<Misha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
<B419B2CA-FA6A-46AA-A472-7FF874FF98B4@xxxxxxxxxxxxx>:
I have two PCs with XP Home. One of them has MSSQL Express. The second one
uses Access. At SQL server I can give permision only as guest. And I can
create new DB from Access and create tables - but I can't add any records.
I downloaded a free book on using MSSQL Express, but there describes how to
create logins using windows login from the same PC where server is installed.
How to create logins for connection from other PC's, I didn't find anything.
You have a couple of choices. You can use Windows authentication or
SQL Server authentication.
If you use Windows authentication, you should have identical accounts
on both PCs (i.e. username and password are the same). Create the
user of the SQL Express instance as "THISPC\user", and it should work
for "THATPC\user", provided the usernames and passwords are the same.
If you use SQL Server authentication, then create the user accordingly
and pass the username and password when you connect from the other PC.
Note that SQL Server Express does not allow connections from other PCs
by default. You'll need to enable that feature via the Management
Studio.
So... Thank you for your help, but it is not working. I found solution.
1. Identical accounts do not works. There is only one way: to create Guest
user at PC where SQL express is installed. Every computer from workgroup will
be as guest and it is working.
You may not have been able to make it work in your situation, but that
doesn't mean that it can't work. I'm using such a setup here in my
office. Most likely you missed something during the process; it could
be any number of things from firewalls to security policies.
2. While installing, SQL express asking for Windows authentication or Mixed
Win/SQL Server authentication. There is no only SQL authentication option.
I didn't say that there was. I said that you can choose from two
authentication methods: Windows and SQL Server. You need to enable
mixed mode for SQL Server authentication to work.
--
Charles Calvert | Software Design/Development
Celtic Wolf, Inc. | Project Management
http://www.celticwolf.com/ | Technical Writing
(703) 580-0210 | Research
.
- References:
- Re: Connecting to MS SQL Express from other PC
- From: Charles Calvert
- Re: Connecting to MS SQL Express from other PC
- From: Misha
- Re: Connecting to MS SQL Express from other PC
- Prev by Date: Re: Foreign key constraints problem in SNC SQL Native client
- Next by Date: Can't connect to SQL Server 2005 Cluster
- Previous by thread: Re: Connecting to MS SQL Express from other PC
- Next by thread: Can't connect to SQL Server 2005 Cluster
- Index(es):
Relevant Pages
|