|
-
Jan 21st, 2005, 09:07 AM
#1
Thread Starter
Fanatic Member
Need help with sql server
hey guyz...
when i am using vb net.. i can't get past this coding
myConnection = New SqlConnection("server=localhost;uid=sa;pwd=;database=pubs")
where can i find the password for the sa? and what do i put for the database?
-
Jan 21st, 2005, 10:48 AM
#2
Re: Need help with sql server
 Originally Posted by ryanlum
hey guyz...
when i am using vb net.. i can't get past this coding
myConnection = New SqlConnection("server=localhost;uid=sa;pwd=;database=pubs")
where can i find the password for the sa? and what do i put for the database?
Server should be (local) and you should know what the password is if you set it up. If you didn't, ask your administrator. People usually leave the password blank.
Get your connection string here:
http://www.able-consulting.com/ado_conn.htm
-
Jan 21st, 2005, 11:30 AM
#3
Member
Re: Need help with sql server
People usually leave the password blank.
Not smart and or paranoid people.
-
Jan 21st, 2005, 06:13 PM
#4
Thread Starter
Fanatic Member
Re: Need help with sql server
is there anyway of changing the password?
-
Jan 21st, 2005, 10:13 PM
#5
Re: Need help with sql server
 Originally Posted by The Cheat
Not smart and or paranoid people. 
If we were smart or paranoid, we wouldn't be here.
-
Jan 21st, 2005, 10:17 PM
#6
Re: Need help with sql server
 Originally Posted by ryanlum
is there anyway of changing the password?
From that I assume you don't know what the original password is.
To reset the sa password:
1. Login to the SQL Server box as the Administrator.
2. Run SQL Server Enterprise Manager.
3. Right-click the server name and choose 'Edit SQL Server Registration properties'.
4. Choose 'Use Windows authentication' and click OK button.
5. Expand a server, expand a Security and click Logins.
6. Double-click the sa login and specify new password on the General tab.
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
|