Server: Message 18456, level 16, status 1 user 'sa 'logon Failure Solution

Source: Internet
Author: User
Tags sql server driver mssql server odbc sql server driver

Unable to connect to the server **: SERVER: Message 18456, level 16, status 1 [Microsoft] [odbc SQL Server Driver] [SQL Server] user 'sa' Login Failed

Today, I went to the business school room to install the German-Italian e-commerce software. When I encountered the above problem, I felt that the SA user was disabled or the password was incorrect. I asked the Administrator what the SQL password is, I don't know. I am so sweaty -_-!!, Fortunately, I was able to access the Internet. Under Baidu and Google, I found a lot of unclosed posts and there was no solution yet. Finally, I finally found a "Forgot MSSQL Server password SOLUTION ",

-- 1. Clear 'sa 'password exec sp_password null, null, 'sa' -- 2. Change 'sa 'password to 'newpassword' exec sp_password null, 'newpassword', 'sa'

Use the first method to clear the SA password. OK, the problem is solved. It's so hot that I have a change of five cents on my body and a bus ride. Buy popsicles for those five hairs, and sweat ~~~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.