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 layout error.

SQL SERVER – How to Install SSMS From Command Line? Error: The Specified Value for Setting ‘MEDIALAYOUT’ is Invalid.

May 30, 2017
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Error Messages, SQL Server, SQL Server Installation, SQL Server Management Studio

How to install SSMS from command line? A client’s silent install failed: the specified value for setting MEDIALAYOUT is invalid. Here is the fix.

Read More
PowerShell - Querying SQL Server From Command Line

PowerShell – Querying SQL Server From Command Line

May 24, 2016
Pinal Dave
SQL Tips and Tricks
Command Line, PowerShell, SQL Scripts, SQL Server

A client’s deployment scripts got me curious about PowerShell. Here is how to start querying SQL Server from the command line with a PowerShell script.

Read More
SQL SERVER - How to Connect Using NT AUTHORITY \ SYSTEM Account?

SQL SERVER – How to Connect Using NT AUTHORITY \ SYSTEM Account?

February 8, 2016
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Server Security

SSMS will not let you type in Windows credentials. Here is how to connect using NT AUTHORITY\SYSTEM account with PsExec from Sysinternals.

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
Gouache painting: a long archive wall of identical wooden drawers, one pulled open with a brass lamp beside it and a small vermilion tag on its handle

Find mysqld.exe on Windows and Fix ‘mysql’ Is Not Recognized

November 8, 2013
Pinal Dave
SQL Tips and Tricks
Command Line, MariaDB, MySQL, SQL Error Messages, Windows

To find mysqld.exe on Windows, search the drive with dir or where, or ask the running server where it lives. This post fixes the ‘mysql’ is not recognized error by adding the bin folder to PATH, and it shows every command with its real output.

Read More
Gouache painting of an old wall panel with one large toggle switch, its vermilion lever flipped up, on a cream plate.

Enable SQLCMD Mode in SSMS: SQL in Sixty Seconds #048

April 10, 2013
Pinal Dave
SQL Video
Command Line, SQL Connection, SQL in Sixty Seconds, SQL Server Management Studio, sqlcmd

To enable SQLCMD mode in SSMS, use the Query menu or set it as the default for new windows. This post tests :connect, :setvar, :r, !! and :on error exit with sqlcmd.exe on SQL Server 2025 and shows the Msg 102 error you get when the mode is off.

Read More
SQL Server - Using SSMS Command Line Parameters

SQL Server – Using SSMS Command Line Parameters

January 8, 2013
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Server Management Studio

My friend Vinod Kumar shows how SSMS Command Line parameters can save you a few clicks every time you open Management Studio and connect to a server.

Read More
Previous 1 2 3 4 Next
  • Books
  • Testimonials
  • Privacy Policy

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