Login failed for user

Donald Symmons 3,066 Reputation points
2022-05-12T00:39:23.847+00:00

I recently uploaded my files and folders. Everything was working fine until I tried to create a new account on the site, but I got an error that says "Login failed for user ..........."
Please how do I solve edd

SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. Olaf Helper 47,436 Reputation points
    2022-05-12T07:09:27.21+00:00

    "Login failed for user "Sammy user"

    The error message mean, that the user connecting to SQL Server (with the used connection string) don't have permissions to logon.
    So check you app which SQL login is used, create the login on your cloud SQL Server and grant permissions for it.


3 additional answers

Sort by: Most helpful
  1. Donald Symmons 3,066 Reputation points
    2022-05-16T13:44:53.56+00:00

    I have finally found the answer to the issue "Login failed for user 'quirverT'.
    In my connection string I copied the password exactly as it were with the asterisk. I initially thought that the asterisks in the password represented the exact database user password. So I had to remove the asterisk and typed-in my user password, and it connection. I was able to insert record into a database table.

    1 person found this answer helpful.
    0 comments No comments

  2. Seeya Xi-MSFT 16,586 Reputation points
    2022-05-12T02:28:57.54+00:00

    Hi @Donald Symmons ,

    Welcome to Microsoft Q&A!
    Here is a detailed article about error 18456: https://www.liquidweb.com/kb/troubleshooting-microsoft-sql-server-error-18456-login-failed-user/
    Please follow the steps of checking in the article.
    Hope you can get some help from this.

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Olaf Helper 47,436 Reputation points
    2022-05-12T05:37:49.76+00:00

    I recently uploaded my files and folders

    To where?

    Login failed for user ..........."

    When do you get the error and what's the complete error message?

    That's really to less on information and no one could guess what's one, so please provide (much) more details about the situation and what happens when.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.