|
-
Jul 7th, 2004, 08:56 AM
#1
Thread Starter
Frenzied Member
Connect to MS SQL Server with user/password [Resolved]
Ok, this might just drive me over the edge.
I have SQL Server 2000 and I'm trying to connect to it. I have several databases setup and I've been using PHP/HTML as my front end to the server. So far, I've only been able to use the server default "sa" as the user, with a blank password. No matter how I create logins or roles, I cannot create a user with a password that will give me access to the databases on that server.
SO I figured I must be doing something wrong so I fired up VB, created an ADO connection string and VOILA! It connects with the user/password combo and off we go.
So I go back to my php pages and try to get a connection. NOTHING.
How do I create a user that php will use to interact with the SQL Server? I can get the default to work, but not any other created user?!
Last edited by ober0330; Jul 7th, 2004 at 10:15 AM.
-
Jul 7th, 2004, 10:12 AM
#2
Thread Starter
Frenzied Member
I always get the answer right after I post all over the net. 
Anyways, it involved setting up a new role and then applying that role to a user.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|