🧚 Atenção! Beekeeper Studio é uma GUI de banco de dados rápida, moderna e de código aberto Download
March 18, 2023 Por Beekeeper Studio Staff

There are two modes for authenticating user connections in SQL Server and MSDE:

  • SQL Server Authentication
  • Windows Authentication

The server can be configured to accept Windows Authentication only or Both authentication modes. If the server is configured to accept Windows Authentication only, clients connecting with a SQL Server account may get this error message. Also, if you are connecting by specifying Windows Authentication and your Windows account context does not have access to the server, you may get this error message.

Changing SQL Server and MSDE authentication mode

By default, the value of the LoginMode Windows registry subkey is set to 1 for Windows Authentication and 2 for Mixed Mode Authentication. To enable Mixed Mode authentication after installation, you must change this value to 2.

To change the value of LoginMode to 2, follow these steps:

  1. In Control Panel, open the Services tool to stop MSSQLSERVER and all other related services (such as SQLSERVERAgent)
  2. To open Registry Editor, click Start, click Run, type regedt32, and then click OK.
  3. Locate either of the following subkeys (depending on whether you installed SQL Server/MSDE as a default instance or as a named instance):

Default Instance:

HKEY_LOCAL_MACHINE\Software\Microsoft\MSSqlserver\MSSqlServer

-or-
Named Instance:

HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\Instance Name\MSSQLServer

  1. In the right pane, double-click the LoginMode subkey.
  2. In the DWORD Editor dialog box, set the value of this subkey to 2, make sure that the Hex option is selected, and then click OK.
  3. Restart the MSSQLSERVER and the SQLSERVERAgent services for this change to take effect.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system.

For further information, refer to http://support.microsoft.com/kb/319930/EN-US/

Beekeeper Studio É Uma GUI de Banco de Dados Gratuita e de Código Aberto

A melhor ferramenta de consultas SQL e editor que já usei. Fornece tudo que preciso para gerenciar meu banco de dados. - ⭐⭐⭐⭐⭐ Mit

Beekeeper Studio é rápido, intuitivo e fácil de usar. Beekeeper suporta muitos bancos de dados e funciona muito bem no Windows, Mac e Linux.

A versão Linux do Beekeeper é 100% completa, sem cortes e sem compromissos de recursos.

O Que Os Usuários Dizem Sobre o Beekeeper Studio

★★★★★
"O Beekeeper Studio substituiu completamente meu antigo fluxo de trabalho com SQL. É rápido, intuitivo e torna o trabalho com banco de dados agradável novamente."
— Alex K., Desenvolvedor de Banco de Dados
★★★★★
"Já experimentei muitas GUIs de banco de dados, mas o Beekeeper encontra o equilíbrio perfeito entre recursos e simplicidade. Simplesmente funciona."
— Sarah M., Engenheira Full Stack

Pronto para Melhorar seu Fluxo de Trabalho com SQL?

download Download Gratuito