This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - FIX Error 18456, Severity: 14, State: 6. Login failed for user

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

February 17, 2016
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Log, SQL Server

A reader hit Error 18456, Severity: 14, State: 6 while logging in. Here is what state 6 means and how to fix this login failed error.

Read More
Gouache painting: two small islands, one with a slate-blue stone tower and one with a sage-green hut, joined by a narrow wooden footbridge with a basket carrying one vermilion fruit across

Linked Server to PostgreSQL: Set It Up From SQL Server 2025

November 24, 2015
Pinal Dave
SQL Tips and Tricks
Linked Server, PostgreSQL, SQL Connection, SQL Scripts

A linked server to PostgreSQL lets SQL Server read PostgreSQL tables through an ODBC driver. This post tests the PostgreSQL side on PostgreSQL 18.6, runs the SQL Server steps up to the missing driver, and shows the real error messages.

Read More
Grouped extension plugs separated from a female connector

Exporting and Sharing Registered Server Groups in SSMS

December 31, 2014
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Instance, SQL Server Management Studio

One shared server list can save you from running a query on the wrong server. Here is how to build it, export it without passwords and use it.

Read More
Interchangeable cloth luggage handle wraps over different solid handle attachments

Reading Connection Details in Code: APP_NAME, HOST_NAME and Logins

September 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Login, SQL Server Security

An audit row blamed the wrong machine because a label was treated as proof. Here is which connection values you can trust, and which you cannot.

Read More
A parcel on a doormat before a closed blue door with a brass knocker, a gloved hand stepping back after knocking once.

Connection Retry Logic for Cloud Databases

April 12, 2014
Pinal Dave
SQL Tips and Tricks
Cloud Computing, Developer, SQL Azure, SQL Connection

Connection retry logic handles transient cloud database faults through bounded backoff, safe transaction retries, and driver connection resiliency.

Read More
Gouache painting: a tin-can telephone, two paper cups joined by a taut vermilion string stretched across a gap between a slate-blue windowsill and a sage-green doorway

Connect to MySQL From the Command Prompt: Host, Port, User

March 25, 2014
Pinal Dave
SQL Tips and Tricks
Command Line, MariaDB, MySQL, SQL Connection

To connect to MySQL from the command prompt, you pass a host, a port, a user and a password to the mysql client. This post runs every switch, then shows the exact error that a wrong port, user, password or database produces.

Read More
Balloons tied to a garden bench in color groups, with one lone red balloon.

Counting Current Connections by Login, Host and Application

October 5, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Connection, SQL DMV, SQL Monitoring

Try counting current connections by login, host, application and database, then inspect sleeping transactions and save a baseline.

Read More
Previous 1 … 3 4 5 6 7 8 9 10 Next
  • Books
  • Testimonials
  • Privacy Policy

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