Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. fail to login in sql authentication mode

fail to login in sql authentication mode

Scheduled Pinned Locked Moved Database
questiondatabasesql-serversysadminsecurity
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mhd sbt
    wrote on last edited by
    #1

    hi to all i want to login in sql server in windows authentication mode but i delete my user login(domanin\myname) how can i login without this user name in sql authentication mode ? thanks in advanced

    M 1 Reply Last reply
    0
    • M mhd sbt

      hi to all i want to login in sql server in windows authentication mode but i delete my user login(domanin\myname) how can i login without this user name in sql authentication mode ? thanks in advanced

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Go to your SA and get them to re create your login again, prepare to be berated as an idiot! How do you expect to be able to logon if you have delete the credentials. If it is your server then use another set of creds (you do have the sa creds don't you) which have rights to security and recreate your integrated creds.

      Never underestimate the power of human stupidity RAH

      M 1 Reply Last reply
      0
      • M Mycroft Holmes

        Go to your SA and get them to re create your login again, prepare to be berated as an idiot! How do you expect to be able to logon if you have delete the credentials. If it is your server then use another set of creds (you do have the sa creds don't you) which have rights to security and recreate your integrated creds.

        Never underestimate the power of human stupidity RAH

        M Offline
        M Offline
        mhd sbt
        wrote on last edited by
        #3

        ok but a forgot my sa password by anyway i re install sql server and recreate creds thanks anyway

        M 1 Reply Last reply
        0
        • M mhd sbt

          ok but a forgot my sa password by anyway i re install sql server and recreate creds thanks anyway

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          mhd.sbt wrote:

          ok but a forgot my sa password

          Then yes the only solution is to re install. I think there may be a way to recover the sa but I don't know. First thing I do when setting up is create 2 sa users and put the creds into passwordsafe having lost the sa password in the past :-O

          Never underestimate the power of human stupidity RAH

          Richard DeemingR 1 Reply Last reply
          0
          • M Mycroft Holmes

            mhd.sbt wrote:

            ok but a forgot my sa password

            Then yes the only solution is to re install. I think there may be a way to recover the sa but I don't know. First thing I do when setting up is create 2 sa users and put the creds into passwordsafe having lost the sa password in the past :-O

            Never underestimate the power of human stupidity RAH

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #5

            Mycroft Holmes wrote:

            I think there may be a way to recover the sa but I don't know.

            http://blogs.msdn.com/b/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx[^]

            1. Stop the SQL service;
            2. Start SQL in single-user mode with the -m parameter;
            3. Log in using a local administrator account;
            4. Add your account to the sysadmin role and/or reset the sa password;
            5. Re-start SQL without the -m parameter;

            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            M 1 Reply Last reply
            0
            • Richard DeemingR Richard Deeming

              Mycroft Holmes wrote:

              I think there may be a way to recover the sa but I don't know.

              http://blogs.msdn.com/b/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx[^]

              1. Stop the SQL service;
              2. Start SQL in single-user mode with the -m parameter;
              3. Log in using a local administrator account;
              4. Add your account to the sysadmin role and/or reset the sa password;
              5. Re-start SQL without the -m parameter;

              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #6

              I just know I am going to need that sometime in the future, thank you.

              Never underestimate the power of human stupidity RAH

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups