Oct 2025 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check

When was Domain Account Password Changed in SQL Server? – Interview Question of the Week #093

October 16, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Password, SQL Server

If you are a DBA for quite some time, then at least once you must have encountered below error about Domain Account Password.

Error 1069: The service did not start due to a logon failure. I have already written a blog about this long ago.

Read More

PowerShell – Create a User with Read Rights on a Database

October 1, 2016
Pinal Dave
SQL Tips and Tricks
Powershell, SQL Login

I have written a number of PowerShell script in the blog and they have been used by many. Most of these scripts are there because someone wanted something different and I got about creating something simple. After I create something for a given use case, I tend to share it in the blog so that people can start using the same.

Read More

SQL SERVER – How to Find Out When Your SQL Login Will Expire?

September 27, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

If you are a SQLDBA, you must have created a login and you must have known about enforcing password policy to SQL Logins. Once of my client asked to provide script to find expiry details about SQL Login. It was an easy task. I went to books online and used LOGINPROPERTY function and passed name to all the possible parameters. Below would work for SQL 2008 onwards.

Read More

SQL SERVER – FIX Error 18456, Severity: 14, State: 5. Login failed for user

September 8, 2016
Pinal Dave
SQL
SQL Error Messages, SQL Login, SQL Server

Some errors are historic and have the most common root cause. Sometimes we really don’t know why they happen and I have seen clients go nuts to identify the real reason for the problem. In a recent email interaction with one customer – who was migrating from Oracle to SQL Server. He kept telling me that they were getting login errors from their Java application. And even when they used the SQL Server Management Studio it was erroring out with Error 18456 code. They sent me a snapshot like this for login failed:

Read More

SQL SERVER – Event ID 7000 – The service did not start due to a logon failure

June 20, 2016
Pinal Dave
SQL
SQL Error Messages, SQL Login, SQL Server

Many times I feel that I have so many blogs that I must have covered all common possible error related to usage of SQL Server. But there are few easy ones which I missed. And thanks to those who take time in sending them to me that it makes a great reminder to what I have missed till date. This blog is from one of such logon failure errors that came from a DBA from one of my consulting engagements. Since the error was simple enough, I thought to respond over mail to solve the problem.

Read More

SQL SERVER – Who Changed the Password of SQL Login? – Interview Question of the Week #065

April 3, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Password, SQL Scripts, SQL Server, SQL Server Security

Today’s interview question was not really asked interview, but it is indeed a real world scenario which everyone should know the answer of. I strongly suggest you bookmark this blog post at once in your lifetime you will need this blog post to know who changed the password of your SQL Login?

Question: Who changed the password of SQL Login?

Answer: Continue to read the answer.

Read More

SQL SERVER – FIX Error 18456, Severity: 14, State: 58. Login failed for user

February 13, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Login, SQL Server

One of the most common and searched SQL Server failure is around “Logins”. Login failed for user has always been tricky and interesting to troubleshoot. I don’t think there is a silver bullet to easily troubleshoot the same. With every version of SQL Server, there are enhancements made in error reporting, which try to make life on DBA’s easy. In previous version of SQL, whenever there is a login failed, it would print message in the SQL ERRORLOG along with the state of login failed. It was difficult for a DBA to find the cause further and it all boiled down to doing a number of permutations and combinations of resolution over the internet. Let us see how to FIX Error 18456.

Read More
Previous 1 … 4 5 6 7 8 9 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

© 2006 – 2025 All rights reserved. pinal @ SQLAuthority.com

Go to mobile version