SQL Server 2008 Error 233

后端 未结 14 1455
情歌与酒
情歌与酒 2021-02-05 06:33

I\'m creating new login in SQL Server 2008 with following sql script:

CREATE LOGIN [xyz] WITH PASSWORD=\'xyz\',
            DEFAULT_DATABASE=[master], DEFAULT_LA         


        
14条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 07:04

    After following the examples here and still not getting in, I found that my sa login was disabled. The following got me in:

    Logged back in under windows authentication.  
    Expanded Security Tab 
    Expanded Logins Tab 
    Right-clicked sa and selected Properties
    Went to the Status Tab
    Under Login: Clicked 'Enabled' radio
    Restarted Server and logged in as sa.
    This assumes you have set sa password already using
    ALTER LOGIN sa WITH PASSWORD = '' ;
    

提交回复
热议问题