New user cannot log-in (SQL Server) - sql

I created a SQL user "myUser" within the Security > Logins section in SSMS. I created it as "SQL Server Auth" and granted all permissions. This user still cannot sign into sql.
Server Auth is set to "Mixed" (SQL and Win auth mode)

Please check if you set the authentication mode to mixed mode or not. If not then:
To enable mixed mode Authentication in Microsoft SQL Server please follow the steps below.
To change security authentication mode to mixed mode
In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
On the Security page, under Server authentication, select SQL Server and Windows Authentication mode, and then click OK.
In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
To enable the sa login by using Management Studio
In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
On the General page, create and confirm a new highly secure password for the sa login.
On the Status page, in the Login section, click Enabled, and then click OK.
Please look into below link:
Solutions to Microsoft SQL Server Error 18456

Related

Where can I find the security options in SQL Server Management Studio?

I'm trying to change server authentication mode, but all the info that I'm finding about it points at a menu that does not appear for me.
Steps tried:
In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
Yes, no problem at all.
On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
There is no Security page visible to me. There's a bunch of different pages, but Security is not one of them. So where do I go?

How to login to the SQLServer with Windows authentication

Actually I have Mac OS X on to which I have installed VirtualBox, which has Windows 7 installed.
In that Windows 7 I installed SQLServer 2012.
I can't log in to SQLServer. Could this setup prevent me from authenticating with SQLServer?
To enable Windows Authentication on SQL Server
Start SQL Server Management Studio and in the Connect to Server dialog box, specify a SQL Server name and administrator credentials to connect to the server.
In Object Explorer, expand the SQL Server.
Expand Security, right-click Logins, and then click New Login.
In the Login – New window, for the Login name text box, specify the Windows user name in the format domain\username.
In the left pane, click User Mapping. In the right pane, select a database to associate with the user. In the Database role membership for box, select the db_owner check box.
Click OK.

Creating/Accessing new database

I have created a new database in SQL Server 2008 R2 on my local machine.
The problem is that for some reason I CAN'T seem to get the it so I can use SQL Server Authentication. I am only able to log in with Windows Authentication.
Would someone describe the steps so that I can access a database that I created with a newly created account?
This will happen when you do not install SQL Server under Mixed Mode Authentication. To change this:
open SQL Server Management Studio (SSMS)
Right click the server
click Properties
click Security
Under "Server Authentication" select "SQL Server and Windows Authentication mode"
See the docs for complete details:
http://msdn.microsoft.com/en-us/library/ms188670(v=sql.105).aspx

SQL server management studio Express

I authenicate to my SQL Server instance by logging in with a Windows account via SQL Server Management Studio. I want to change this to a SQL server login.
How can I do that?
The default installation of SQL Server only supports Windows Authentication.
If you want to use SQL authentication (e.g. "sa" for the superuser), you need to:
Using SQL Server Management Studio, connect to the server. Use Windows Authentication for now.
Right-click on the server instance you want to modify. This is usually the root item in the tree in the left-hand panel.
Select Properties from the context menu.
In the Server Properties window, select Security from the left-hand panel.
Under Server Authentication, change the radio button from "Windows Authentication mode" (the default), to "SQL Server and Windows Authentiation mode".
Now you can create SQL server logins which you can use to connect to the server.
When you first open Management Studio it asks you what credentials you wish to use to login.
For an actively connected session you need to change the current connection using the button on the tool bar (normally top left) which will pop up the login dialogue again.
Clearly this will depend on you having some SQL Server logins already defined on the server with appropriate permissions specified.

Sql Server Management Studio Express

how do i convert my sql server management studio express to server authentication mode.. please help regarding this..
I assume you mean SQL or Mixed-mode Authentication (the ability to login using your SA account). Follow the instructions in this link.
You should be able to connect to it as normal via whatever method you already have (this requires sufficient Admin permissions).
Then to enable access via SQL Logins you can
Right click on the instance name in Management Studio (mine is localhost\SQLEXPRESS (SQLServer 10.0.1600)).
Go to the Security tab.
Then you should be able to enable SQL Logins by clicking SQL Server and Windows Authentication Mode.
Click ok and you're done!
You can now add SQL Logins as connect via them as you would normally.