Closed grumpykiwi closed 2 months ago
Does SQL Management Studio connect? This might be because AzureAttestService is not installed (it cannot be installed on ARM64).
Hello
I have a fix for this after some searching and fiddling.
Install SSMS 20.1
Start PowerShell as Administrator
Variables enclosed within <> should be replaced with the actual value.
Ensure that the username you would like to add is a member of the local administrators group.
net stop "SQL Server (SQLDeveloper)"
$sql_server_instance = "
$login_to_be_granted_access = "[
net start "SQL Server (SQLDeveloper)" /f /mSQLCMD
sqlcmd.exe -E -S $sql_server_instance -Q "CREATE LOGIN $login_to_be_granted_access FROM WINDOWS; ALTER SERVER ROLE sysadmin ADD MEMBER $login_to_be_granted_access; "
net stop "SQL Server (SQLDeveloper)"
net start "SQL Server (SQLDeveloper)"
After that I was able to connect to SSMS, change to Mixed mode, fix the SA account, and create a SQL login for my application.
Next step is to see if my Blazor app will run in debug from VS 2022 Preview.
Hope this helps
Cheers
Mark
Mark Nash
IT Director
(817) 465-9277 | Arlington, Tx
Winner of 104 IABC Gold Quills and the 2023 Large Agency of the Year
[cid:linkedin_4c6f3bdf-dd4e-4f46-94f0-1885fa83094c.png]https://www.linkedin.com/company/partnercomm [cid:instagram_bebedbe2-cb80-462a-af3c-7ae9caf0718c.png] https://www.instagram.com/partnercomm [cid:facebook_a2d99c62-cb5a-42d3-b0e4-d08e71427149.png] https://www.facebook.com/PartnerCommInc/ [cid:twitter_53725725-ce5d-4ef3-bd47-bfd64fe511d7.png] https://twitter.com/partnercomm [cid:vimeo_f71007e4-e318-469a-b82c-5751fc4fbe28.png] https://vimeo.com/sweet250 [cid:web_a51bd891-a842-461a-b706-81937a9daae4.png] www.partnercomm.nethttps://www.partnercomm.net [cid:logo-pcomm-30_74bce84a-c4e7-4724-87ee-9c2ca3e3421e.png] From: Lukas Volf @.> Sent: Saturday, July 6, 2024 3:30 AM To: jimm98y/MSSQLEXPRESS-M1-Install @.> Cc: Mark Nash @.>; Author @.> Subject: Re: [jimm98y/MSSQLEXPRESS-M1-Install] Login Failed for user on Parallels on MacBook Pro M3 (Issue #36)
[EXTERNAL SENDER]
[Warning! There may be malicious links below!]
Does SQL Management Studio connect? This might be because AzureAttestService is not installed (it cannot be installed on ARM64).
- Reply to this email directly, view it on GitHubhttps://github.com/jimm98y/MSSQLEXPRESS-M1-Install/issues/36#issuecomment-2211705997, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOLVX3FWK2NXNA3UMPEANLZK6TG5AVCNFSM6AAAAABKOBNRQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG4YDKOJZG4. You are receiving this because you authored the thread.Message ID: @.**@.>>
That's interesting, Windows auth is enabled by default so it should have let you in right after the installation using your Windows account. But I'm glad you've fixed it and shared your solution!
Install went fine but when I go to log in using Azure Data Studio, I get login failed
Server .\sqldeveloper Windows Auth Encrypyt Optional or Mandatory (no difference) Trust certificate true
My local user that Parallels creates is a local admin
Since SA is disabled according to a ticket I read, I cant get in that way
Ideas ?
Thanks
Mark