Fail to login with this user "xxx" SQL - sql

I have an SQL it shows me an error message.
I got error while log in to SQL with USER sa & Password.
Also I have reset the password from the Logins security.
I have checked lot of links but unable to log in.
How can I rectify this issue?
I have used following links-
itproguru, stackoverflow

Related

Unable to run sql on my IBM Db2 workspace

Error message
[jcc][t4][2013][11249][4.26.14] Connection authorization failure occurred. Reason: User ID or Password invalid. ERRORCODE=-4214, SQLSTATE=28000
I have tried everything suggested by the IBM chatbot but I did not get a solution. Please help.
This means it failed due to disabled or expired user id or wrong password or not a valid password.
Please contact your DB administrator

Error: 18456, Severity: 14, State: 38 Reason: Failed to open the explicitly specified database 'ReportServer'. [CLIENT: <local machine>]

I'm facing a situation which every 10 seconds an error log is recorded with the following msg:
2018-07-25 09:07:09.59 Logon Error: 18456, Severity: 14, State: 38.
2018-07-25 09:07:09.59 Logon Login failed for user 'svc_sql'. Reason: Failed to open the explicitly specified database 'ReportServer'. [CLIENT: <local machine>]
In my instance I don't have a 'ReportServer' database. I know that in the past the server was migrated to a new machine and I reckon the 'ReportServer' database was created with a new name in the new server. I really don't know how the migration was done.
I've activated the SQL_Profiler with all audit options and I could see that this user also executes a procedure sometimes.
I've checked the default database for this user and it's Master.
Any ideas how can I fix this issue? My error log is flooding with this message.
Thanks a lot.
Rod
I've checked the default database for this user and it's Master.
The error doesn't tell you about default database but about explicitly specified database, that is different, it's the database that is mentioned in connection string under Initial Catalog or Database.
Do you see what application tries to open this database? The problem is in that application, it uses old connection string. If it's SSMS, it's simple, it's in the Options of connection dialog, but if it's another application, the connection string can be written in the ini file or hardcoded.
I don't know if I try to run DBCC CHECKDB master will solve this.
Of course it cannot solve this. This has nothing to do with database integrity. It's your client that uses wrong connection string.
Any ideas how can I fix this issue? My error log is flooding with this
message.
If you just want to save your errorlog from these messages just turn off failed logins audit:
Or you should find this application by its name or host or client address.
Or you can temporarily disable this login and see who will call you saying he cannot login anymore, or, if it's your local machine, some of your applications will fail, this way you'll find it.
I had the same error and doing the following resolved the error for me:
From within the SQL Server Management Studio
Security
Logins
Right Click the user ID that was failing login
Server Roles
Make sure all the checkboxes are checked. Right clicked Security and refresh.

sqlplus ORA-01017: invalid username/password; logon denied

on my windows 10 system every time I attempt to login I see the following error.
ORA-01017: invalid username/password; logon denied
During the install process I was not asked to create any users. I do seem to recall that I was asked to enter 'Oracle_1' as the admin password but I was not asked to enter an admin userid. I could not login with that id.
I was able to start a sqlplus session by executing "sqlplus /nolog". However, once in the session I really could not do anything, even a help command failed because I was not connected to a database.
On windows 10 how do I create a user that will enable me to successfully login and manipulate database tables ?
In Eclipse on a Tomcat server, the config file is under Overview>Open Launch Configuration> Arguments Tab> VM arguments. Make sure the keys for -Ddb.user and -Ddb.password are correct. Also check the information in c:\users\\config\customProperties\startup\application.properties. Perhaps someone more experienced may chime in based on your current set-up.

Multiple errors of : 18456 on the SQL Server (And in the Event Viewer)

Alert Details
Host xx-x-xx-xx-0xx Application MSSQLSERVER EventID 18456 Criticality High
Time 20:29:50, Sun, May 28 2017
Message Login failed for user 'xyz'. Reason: Password did not match that for the login provided. [CLIENT: xx.xx.xxx.xxx].
I'm getting 1000+ alerts regarding the same error mentioned above.
Most importantly: I get these alerts whenever the maintenance plans (Backup) are executed.
Can anyone please explain why am I getting the error 18456 and then the maintenance plan runs successfully anway?
This is very typical SQL problem of SQL user rights. please check if you are using AD account/ service account, it happens that rights use to get revoked while some specific SQL command is being executed.Check with your IT team regarding your SQL account.

SQL IIS application login fails for user

I am scratching my head here and I need a hand with this. Please save my sanity!
1
I can log into SSMS with the username and it works.
I can open the ODBC/System DSN and test the connection using the same username and it works.
3
I have the vtimecard.ini configured with the username and password IDENTICAL to the login for SQL and that used for the 2 logins that work...
[ODBC]
DSN=
Driver=SQL Server
Server=MLAERP01\VTIMECARD
Database=vTimeCard
UID=vtc2
PWD=
BUT once I try to access the website, it fails.
Details: Global database error Open (global): 'Login failed for user 'vtc2'.' (D=, D=SQL Server, S=MLAERP01\VTIMECARD, D=vTimeCard, U=vtc2)
and when I check the SQL server log it gives:
Login failed for user 'vtc2'. Reason: Password did not match that for the login provided. [CLIENT: ] Error: 18456, Severity: 14, State: 8
Please direct me what I need to look at with this. I am not that versed in SQL and webApps. Any help is good help!